Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001119, allocations: 177.5 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.5777 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007184/0.000718, allocations: 97.86 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 15.12 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2314, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001081/0.2326, allocations: 0.5655 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.2327, allocations: 51.72 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.2328, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2328, allocations: 7.922 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.2329, allocations: 3.938 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.251e-05/0.233, allocations: 15.98 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.2331, allocations: 59.84 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2332, allocations: 33.58 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.2333, allocations: 23.86 kB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.2333, allocations: 19.8 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2334, allocations: 4 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-06/0.2334, allocations: 0 / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2334, allocations: 15.92 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2334, allocations: 37.64 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.2335, allocations: 47.88 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.2335, allocations: 12 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2335, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2336, allocations: 0 / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003592/0.2339, allocations: 367.4 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.234, allocations: 12.03 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.234, allocations: 34.56 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.234, allocations: 19.75 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2342, allocations: 202.8 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2342, allocations: 8 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2343, allocations: 8 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2344, allocations: 91.3 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2344, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2344, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2344, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.2345, allocations: 39.92 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.235, allocations: 448.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.235, allocations: 45.28 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.2351, allocations: 17.83 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2351, allocations: 4 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2351, allocations: 30.56 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2351, allocations: 3.938 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.2353, allocations: 61.45 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2353, allocations: 77.11 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2354, allocations: 170.2 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.2354, allocations: 25.95 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2355, allocations: 112 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.2355, allocations: 11.84 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2355, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.2356, allocations: 322.8 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.2356, allocations: 4 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.2356, allocations: 17.72 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.2357, allocations: 12 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2357, allocations: 3.953 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.179e-05/0.2358, allocations: 65.53 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2358, allocations: 6.656 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2358, allocations: 4 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2358, allocations: 4 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.2359, allocations: 4 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2359, allocations: 3.984 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.2359, allocations: 11.84 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.236, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/0.236, allocations: 125.8 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.2361, allocations: 11.86 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.2361, allocations: 12.56 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2361, allocations: 0 / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2361, allocations: 4 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2361, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.2364, allocations: 478.8 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2364, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.2365, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2365, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.2365, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2365, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2365, allocations: 3.938 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/0.2366, allocations: 89.91 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.2366, allocations: 88.92 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2366, allocations: 7.984 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.2367, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.2367, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2367, allocations: 4 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.2368, allocations: 120.9 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2368, allocations: 0 / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001672/0.2369, allocations: 15.94 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002817/0.2372, allocations: 0.621 MB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.2373, allocations: 16 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2373, allocations: 4.156 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.2373, allocations: 7.938 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.2375, allocations: 14.38 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.2382, allocations: 0.6043 MB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2384, allocations: 0.6965 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.2385, allocations: 12.42 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.2385, allocations: 19.44 kB / 0.9062 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2385, allocations: 0 / 0.9062 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2505, allocations: 1.606 MB / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.2507, allocations: 210.5 kB / 0.908 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.738, allocations: 0 / 0.908 GB, free: 55.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)