Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005129/0.005129, allocations: 98.36 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 200 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.554/2.554, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 76.08 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2681, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5292/0.7974, allocations: 61.28 MB / 1.302 GB, free: 7.496 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.8133, allocations: 12 MB / 1.313 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.8149, allocations: 55.94 kB / 1.313 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.8165, allocations: 0.6803 MB / 1.314 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.8209, allocations: 1.958 MB / 1.316 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.8238, allocations: 1.205 MB / 1.317 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.8276, allocations: 3.077 MB / 1.32 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.829, allocations: 1.094 MB / 1.321 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.832, allocations: 1.438 MB / 1.323 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.8332, allocations: 0.8874 MB / 1.324 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.8334, allocations: 114.8 kB / 1.324 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.8363, allocations: 1.444 MB / 1.325 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.8367, allocations: 281.8 kB / 1.325 GB, free: 8.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000744/0.8374, allocations: 0.697 MB / 1.326 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.8406, allocations: 2.306 MB / 1.328 GB, free: 7.414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.8406, allocations: 1.406 kB / 1.328 GB, free: 7.414 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8406, allocations: 0 / 1.328 GB, free: 7.414 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.8407, allocations: 0 / 1.328 GB, free: 7.414 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002752/0.8434, allocations: 1.772 MB / 1.33 GB, free: 6.184 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.8435, allocations: 13.91 kB / 1.33 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.8436, allocations: 127.4 kB / 1.33 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.8456, allocations: 414.4 kB / 1.331 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.8476, allocations: 1.175 MB / 1.332 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.8477, allocations: 64.5 kB / 1.332 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.8478, allocations: 78.53 kB / 1.332 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.8497, allocations: 0.9959 MB / 1.333 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.8497, allocations: 6.109 kB / 1.333 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.8498, allocations: 32.25 kB / 1.333 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.8498, allocations: 23.25 kB / 1.333 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.8519, allocations: 0.8436 MB / 1.334 GB, free: 4.426 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006145/0.8581, allocations: 5.24 MB / 1.339 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.8613, allocations: 0.7891 MB / 1.34 GB, free: 108 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.862, allocations: 296.8 kB / 1.34 GB, free: 12 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.8627, allocations: 0.8994 MB / 1.341 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.8627, allocations: 37.5 kB / 1.341 GB, free: 14.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.8628, allocations: 0 / 1.341 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=43): time 0.006429/0.8692, allocations: 1.705 MB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8692, allocations: 56.72 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.8707, allocations: 1.075 MB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.8708, allocations: 34.27 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.8712, allocations: 0.5404 MB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.8714, allocations: 162.3 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.8716, allocations: 138.8 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8717, allocations: 331.2 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.8726, allocations: 316.3 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.8736, allocations: 0.5216 MB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.8752, allocations: 0.7065 MB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8753, allocations: 4.078 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002445/0.8777, allocations: 1.01 MB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8777, allocations: 6.375 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8778, allocations: 13.59 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.8789, allocations: 305.3 kB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.8794, allocations: 139 kB / 1.348 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.8808, allocations: 0.9021 MB / 1.349 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8819, allocations: 156.1 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.882, allocations: 30.94 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.8831, allocations: 0.5041 MB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00101/0.8841, allocations: 0.5248 MB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001555/0.8857, allocations: 0.7051 MB / 1.35 GB, free: 9.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.8857, allocations: 5.391 kB / 1.35 GB, free: 9.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002466/0.8881, allocations: 1.014 MB / 1.351 GB, free: 9.242 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.8882, allocations: 6.781 kB / 1.351 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8882, allocations: 6.125 kB / 1.351 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.8892, allocations: 294.7 kB / 1.352 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.8897, allocations: 129.2 kB / 1.352 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.891, allocations: 0.9036 MB / 1.353 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.8921, allocations: 132.5 kB / 1.353 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.8922, allocations: 35.83 kB / 1.353 GB, free: 8.266 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.8924, allocations: 216.9 kB / 1.353 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.8926, allocations: 113.2 kB / 1.353 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.8948, allocations: 0.9191 MB / 1.354 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.8948, allocations: 8.656 kB / 1.354 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8948, allocations: 0 / 1.354 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.8948, allocations: 5.109 kB / 1.354 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.8995, allocations: 2.132 MB / 1.356 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8995, allocations: 2.5 kB / 1.356 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.8998, allocations: 61.33 kB / 1.356 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.9007, allocations: 297.3 kB / 1.357 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.9007, allocations: 23.11 kB / 1.357 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.9021, allocations: 0.9272 MB / 1.357 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9021, allocations: 2.719 kB / 1.357 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.9054, allocations: 1.145 MB / 1.359 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.9058, allocations: 273.8 kB / 1.359 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.9059, allocations: 19.86 kB / 1.359 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/0.9067, allocations: 61.8 kB / 1.359 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.9068, allocations: 55.77 kB / 1.359 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.9068, allocations: 23.27 kB / 1.359 GB, free: 4.074 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001043/0.9079, allocations: 0.7494 MB / 1.36 GB, free: 3.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9079, allocations: 4 kB / 1.36 GB, free: 3.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001413/0.9093, allocations: 0.5719 MB / 1.36 GB, free: 3.523 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004255/0.9136, allocations: 1.967 MB / 1.362 GB, free: 2.164 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.9165, allocations: 1.113 MB / 1.363 GB, free: 1.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9165, allocations: 0 / 1.363 GB, free: 1.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.9173, allocations: 348.3 kB / 1.364 GB, free: 1.504 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.9194, allocations: 0.5075 MB / 1.364 GB, free: 1.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.9355, allocations: 8.457 MB / 1.372 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.9363, allocations: 1.06 MB / 1.373 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009181/0.9372, allocations: 229.4 kB / 1.374 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.9378, allocations: 417.8 kB / 1.374 GB, free: 10.67 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.9378, allocations: 0 / 1.374 GB, free: 10.67 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.437/3.375, allocations: 33.49 MB / 1.407 GB, free: 13.3 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.08/26.45, allocations: 12.53 kB / 1.407 GB, free: 13.29 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)