Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.001032/0.001032, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001537/0.001537, allocations: 198 kB / 16.25 MB, free: 6.625 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.88 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5964, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1452/0.7416, allocations: 160.7 MB / 1.174 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.746, allocations: 3.469 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.7463, allocations: 19.88 kB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.747, allocations: 246.9 kB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.7486, allocations: 0.7937 MB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.7494, allocations: 423.1 kB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009992/0.7504, allocations: 1.099 MB / 1.18 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.7507, allocations: 320.2 kB / 1.18 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.7512, allocations: 402.4 kB / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.752, allocations: 376.8 kB / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.752, allocations: 44 kB / 1.181 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.7529, allocations: 0.7287 MB / 1.182 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.7531, allocations: 167.5 kB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.7533, allocations: 274.6 kB / 1.182 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009413/0.7543, allocations: 0.9659 MB / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7543, allocations: 0 / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7543, allocations: 0 / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7543, allocations: 0 / 1.183 GB, free: 8.105 MB / 0.9356 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.001203/0.7555, allocations: 0.8718 MB / 1.184 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7556, allocations: 12.03 kB / 1.184 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.7557, allocations: 62.53 kB / 1.184 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.7566, allocations: 151.2 kB / 1.184 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.7573, allocations: 492.9 kB / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.7573, allocations: 24.55 kB / 1.184 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.7574, allocations: 31.91 kB / 1.184 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.7579, allocations: 315.7 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.7579, allocations: 11.94 kB / 1.185 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.7579, allocations: 8 kB / 1.185 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.758, allocations: 12.56 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.7583, allocations: 226 kB / 1.185 GB, free: 5.801 MB / 0.9356 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.001666/0.76, allocations: 1.414 MB / 1.186 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.7604, allocations: 222.7 kB / 1.187 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.7605, allocations: 108.8 kB / 1.187 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.7606, allocations: 8 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.7609, allocations: 160.8 kB / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.7609, allocations: 0 / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002665/0.7635, allocations: 1.084 MB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7636, allocations: 71.28 kB / 1.188 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.764, allocations: 457.9 kB / 1.188 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.7641, allocations: 37.64 kB / 1.188 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.7642, allocations: 232.2 kB / 1.189 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.7643, allocations: 106.6 kB / 1.189 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.7644, allocations: 77.98 kB / 1.189 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7645, allocations: 354.8 kB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.7648, allocations: 128.7 kB / 1.189 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.765, allocations: 182.7 kB / 1.19 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.7654, allocations: 307.9 kB / 1.19 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7654, allocations: 4 kB / 1.19 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008995/0.7664, allocations: 489.9 kB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7664, allocations: 12.03 kB / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.7664, allocations: 0 / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.7667, allocations: 80.8 kB / 1.19 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.767, allocations: 67.91 kB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.7686, allocations: 1.908 MB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.7689, allocations: 27.86 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.769, allocations: 12 kB / 1.192 GB, free: 13.87 MB / 0.9512 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.7692, allocations: 201.7 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.7692, allocations: 43.53 kB / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.7694, allocations: 52.62 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7694, allocations: 4 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7694, allocations: 3.984 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7694, allocations: 0 / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.7708, allocations: 0.9686 MB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7708, allocations: 0 / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.7712, allocations: 67.95 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.7715, allocations: 76.86 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.7715, allocations: 27.86 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.7728, allocations: 1.641 MB / 1.195 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7728, allocations: 0 / 1.195 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/0.7737, allocations: 0.5787 MB / 1.196 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.7739, allocations: 152.5 kB / 1.196 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.774, allocations: 8 kB / 1.196 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.7743, allocations: 21.81 kB / 1.196 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7744, allocations: 27.91 kB / 1.196 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.7744, allocations: 12 kB / 1.196 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003038/0.7747, allocations: 307.1 kB / 1.196 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7747, allocations: 0 / 1.196 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004741/0.7752, allocations: 124 kB / 1.197 GB, free: 9.324 MB / 0.9512 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.7773, allocations: 1.435 MB / 1.198 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.778, allocations: 434.4 kB / 1.198 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.778, allocations: 0 / 1.198 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.7783, allocations: 262.9 kB / 1.199 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7794, allocations: 239.2 kB / 1.199 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.7849, allocations: 4.326 MB / 1.203 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.7852, allocations: 0.8465 MB / 1.204 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000316/0.7856, allocations: 88.31 kB / 1.204 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.7858, allocations: 155.4 kB / 1.204 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7858, allocations: 3.938 kB / 1.204 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1637/0.9495, allocations: 12.64 MB / 1.216 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.9498, allocations: 258.8 kB / 1.217 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.124, allocations: 3.938 kB / 1.217 GB, free: 4.867 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)