Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",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.001593/0.001593, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.003238/0.003238, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.887/2.887, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.149/5.149, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007422/0.0007424, allocations: 12 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653/1.653, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2938/1.947, allocations: 136.8 MB / 1.114 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.958, allocations: 3.373 MB / 1.118 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/1.96, allocations: 15.88 kB / 1.118 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/1.962, allocations: 274.8 kB / 1.118 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005854/1.968, allocations: 0.813 MB / 1.119 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/1.972, allocations: 0.5228 MB / 1.119 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002998/1.975, allocations: 0.6458 MB / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/1.976, allocations: 266.3 kB / 1.12 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/1.978, allocations: 318.8 kB / 1.121 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009125/1.979, allocations: 235 kB / 1.121 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/1.979, allocations: 12 kB / 1.121 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/1.981, allocations: 323.5 kB / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/1.981, allocations: 131.6 kB / 1.121 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/1.981, allocations: 125.4 kB / 1.121 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/1.983, allocations: 0.6117 MB / 1.122 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.983, allocations: 0 / 1.122 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.318e-06/1.983, allocations: 0 / 1.122 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.983, allocations: 4 kB / 1.122 GB, free: 5.5 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002497/1.985, allocations: 0.7592 MB / 1.123 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/1.985, allocations: 12.03 kB / 1.123 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/1.986, allocations: 66.53 kB / 1.123 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/1.988, allocations: 155.2 kB / 1.123 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.989, allocations: 473.3 kB / 1.123 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/1.989, allocations: 20.56 kB / 1.123 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.989, allocations: 32 kB / 1.123 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.99, allocations: 319.6 kB / 1.124 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.99, allocations: 3.984 kB / 1.124 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/1.991, allocations: 11.98 kB / 1.124 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/1.991, allocations: 16.52 kB / 1.124 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/1.991, allocations: 218.1 kB / 1.124 GB, free: 3.332 MB / 0.8731 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.004089/1.996, allocations: 1.414 MB / 1.125 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/1.996, allocations: 218.8 kB / 1.125 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/1.997, allocations: 4 kB / 1.126 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/1.997, allocations: 160.8 kB / 1.126 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 4.016e-05/1.997, allocations: 0 / 1.126 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.006113/2.004, allocations: 1.098 MB / 1.127 GB, free: 236 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/2.004, allocations: 51.41 kB / 1.127 GB, free: 172 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/2.005, allocations: 461.8 kB / 1.127 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/2.005, allocations: 33.7 kB / 1.127 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/2.005, allocations: 232.3 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/2.006, allocations: 106.4 kB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/2.006, allocations: 8 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003318/2.006, allocations: 366.7 kB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/2.007, allocations: 124.7 kB / 1.128 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/2.007, allocations: 174.9 kB / 1.128 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/2.008, allocations: 145.6 kB / 1.128 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.008, allocations: 0 / 1.128 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001661/2.009, allocations: 490.4 kB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/2.009, allocations: 7.953 kB / 1.129 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/2.009, allocations: 4.156 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/2.01, allocations: 84.8 kB / 1.129 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/2.01, allocations: 59.91 kB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/2.015, allocations: 1.795 MB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/2.016, allocations: 15.98 kB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/2.016, allocations: 16 kB / 1.131 GB, free: 11.9 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00113/2.017, allocations: 203.3 kB / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/2.017, allocations: 43.44 kB / 1.131 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/2.018, allocations: 60.61 kB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/2.018, allocations: 0 / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/2.018, allocations: 4 kB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/2.018, allocations: 0 / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/2.022, allocations: 0.9606 MB / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/2.022, allocations: 0 / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/2.023, allocations: 63.97 kB / 1.132 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008336/2.024, allocations: 80.62 kB / 1.132 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/2.024, allocations: 11.98 kB / 1.132 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/2.029, allocations: 1.57 MB / 1.134 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/2.029, allocations: 4 kB / 1.134 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/2.031, allocations: 0.5715 MB / 1.134 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/2.031, allocations: 148.5 kB / 1.134 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/2.031, allocations: 15.94 kB / 1.134 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/2.032, allocations: 23.92 kB / 1.134 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/2.032, allocations: 15.97 kB / 1.134 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/2.032, allocations: 12 kB / 1.134 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006975/2.033, allocations: 311.1 kB / 1.135 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/2.033, allocations: 3.938 kB / 1.135 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001194/2.034, allocations: 124 kB / 1.135 GB, free: 7.465 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005442/2.04, allocations: 1.422 MB / 1.136 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001983/2.042, allocations: 454.5 kB / 1.137 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/2.042, allocations: 0 / 1.137 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/2.043, allocations: 246.5 kB / 1.137 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/2.045, allocations: 233.6 kB / 1.137 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/2.05, allocations: 2.336 MB / 1.139 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/2.051, allocations: 0.8584 MB / 1.14 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009627/2.052, allocations: 88.31 kB / 1.14 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/2.052, allocations: 155.3 kB / 1.14 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of SimCode: time 2.134e-06/2.052, allocations: 0 / 1.14 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06785/2.12, allocations: 12.41 MB / 1.153 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/2.121, allocations: 235.1 kB / 1.153 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/5.75, allocations: 0 / 1.153 GB, free: 5.297 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat