Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",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.286/1.286, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0008604/0.0008604, allocations: 177.6 kB / 325.8 MB, free: 2.676 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.386/1.386, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006795/0.0006795, allocations: 96.27 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 11.22 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1663, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.139/0.3053, allocations: 159.9 MB / 1.052 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004217/0.3096, allocations: 2.958 MB / 1.055 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.3101, allocations: 11.94 kB / 1.055 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.3107, allocations: 179.1 kB / 1.055 GB, free: 380 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3621/0.6729, allocations: 0.7272 MB / 1.056 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.6737, allocations: 323.3 kB / 1.056 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.6748, allocations: 1.292 MB / 1.058 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.6751, allocations: 223.6 kB / 1.058 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.6755, allocations: 304 kB / 1.058 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.6763, allocations: 285.8 kB / 1.058 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.6764, allocations: 17.5 kB / 1.058 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.6775, allocations: 0.7425 MB / 1.059 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.6777, allocations: 114.7 kB / 1.059 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.6778, allocations: 194.6 kB / 1.06 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.6788, allocations: 0.7863 MB / 1.06 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6788, allocations: 0 / 1.06 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6789, allocations: 0 / 1.06 GB, free: 2.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6789, allocations: 0 / 1.06 GB, free: 2.195 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001001/0.6799, allocations: 0.6476 MB / 1.061 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6799, allocations: 11.69 kB / 1.061 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.68, allocations: 58.16 kB / 1.061 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.681, allocations: 140.4 kB / 1.061 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.6815, allocations: 402.6 kB / 1.061 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.6815, allocations: 17.03 kB / 1.062 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.6816, allocations: 30.28 kB / 1.062 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.682, allocations: 284.9 kB / 1.062 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.682, allocations: 4.516 kB / 1.062 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.682, allocations: 14.36 kB / 1.062 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.6821, allocations: 10.28 kB / 1.062 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.6824, allocations: 195 kB / 1.062 GB, free: 17.32 MB / 0.7136 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.001553/0.6839, allocations: 1.336 MB / 1.063 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.6844, allocations: 200 kB / 1.064 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.6845, allocations: 86.72 kB / 1.064 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.6845, allocations: 2.625 kB / 1.064 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6846, allocations: 37.33 kB / 1.064 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.6846, allocations: 0 / 1.064 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.00087/0.6854, allocations: 401.4 kB / 1.064 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.6855, allocations: 57.09 kB / 1.064 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.6858, allocations: 300.4 kB / 1.064 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.6858, allocations: 31.44 kB / 1.064 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.686, allocations: 191.9 kB / 1.065 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.686, allocations: 69.22 kB / 1.065 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.6861, allocations: 29.61 kB / 1.065 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6862, allocations: 341 kB / 1.065 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.6863, allocations: 65.19 kB / 1.065 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.6864, allocations: 116.3 kB / 1.065 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.6867, allocations: 193.1 kB / 1.065 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6867, allocations: 0.9375 kB / 1.065 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003472/0.6871, allocations: 240.2 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6871, allocations: 5.719 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6871, allocations: 8.844 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6871, allocations: 2.891 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.6873, allocations: 43.42 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6873, allocations: 3.656 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.6876, allocations: 21.88 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.6876, allocations: 7.25 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.6878, allocations: 174 kB / 1.066 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.6879, allocations: 31.66 kB / 1.066 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.6879, allocations: 38.8 kB / 1.066 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6879, allocations: 2.125 kB / 1.066 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.688, allocations: 1.625 kB / 1.066 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.688, allocations: 9.344 kB / 1.066 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.6885, allocations: 407.6 kB / 1.066 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6885, allocations: 1.766 kB / 1.066 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.6887, allocations: 35.98 kB / 1.066 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.6889, allocations: 46.91 kB / 1.066 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.6889, allocations: 5.812 kB / 1.066 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.69, allocations: 1.407 MB / 1.068 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.69, allocations: 3.938 kB / 1.068 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.6906, allocations: 403.2 kB / 1.068 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.6907, allocations: 135.7 kB / 1.068 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.6908, allocations: 5.922 kB / 1.068 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.6911, allocations: 25.64 kB / 1.068 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.6911, allocations: 12.55 kB / 1.068 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.6911, allocations: 10.23 kB / 1.068 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002237/0.6913, allocations: 218.3 kB / 1.069 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6914, allocations: 0 / 1.069 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003936/0.6918, allocations: 105.9 kB / 1.069 GB, free: 13.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008763/0.6926, allocations: 0.9642 MB / 1.07 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.6929, allocations: 162.2 kB / 1.07 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6929, allocations: 0 / 1.07 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.6932, allocations: 197 kB / 1.07 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.6942, allocations: 193.4 kB / 1.07 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.6979, allocations: 3.018 MB / 1.073 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.6983, allocations: 0.8008 MB / 1.074 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.6987, allocations: 64.17 kB / 1.074 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.6988, allocations: 104.4 kB / 1.074 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/0.6988, allocations: 0 / 1.074 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7841/1.483, allocations: 8.568 MB / 1.082 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.483, allocations: 235.2 kB / 1.083 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.838, allocations: 0 / 1.083 GB, free: 9.223 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)