Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",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.0007898/0.0007898, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001038/0.001038, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9612/0.9612, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 8.219 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.5167/0.68, allocations: 216.8 MB / 0.8092 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.6981, allocations: 14.76 MB / 0.8237 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.6999, allocations: 55.62 kB / 0.8237 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.7018, allocations: 0.6559 MB / 0.8244 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.7071, allocations: 2.135 MB / 0.8264 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.7103, allocations: 1.252 MB / 0.8277 GB, free: 308 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004352/0.7147, allocations: 3.961 MB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.716, allocations: 0.9338 MB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.72, allocations: 1.91 MB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.7215, allocations: 1.007 MB / 0.8353 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.7216, allocations: 48 kB / 0.8353 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.7259, allocations: 1.906 MB / 0.8372 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.7263, allocations: 402.5 kB / 0.8376 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.7267, allocations: 328.9 kB / 0.8379 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.7295, allocations: 2.124 MB / 0.84 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7295, allocations: 0 / 0.84 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7295, allocations: 4 kB / 0.84 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.706e-05/0.7296, allocations: 0 / 0.84 GB, free: 3.637 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003363/0.7329, allocations: 1.733 MB / 0.8417 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.733, allocations: 8.031 kB / 0.8417 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.7332, allocations: 160.2 kB / 0.8418 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.7358, allocations: 0.5328 MB / 0.8423 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.7379, allocations: 1.073 MB / 0.8434 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007971/0.7387, allocations: 273.8 kB / 0.8437 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.7388, allocations: 100 kB / 0.8438 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.7414, allocations: 1.327 MB / 0.845 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.7414, allocations: 3.938 kB / 0.8451 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.7416, allocations: 52.56 kB / 0.8451 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.7416, allocations: 46 kB / 0.8451 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.7442, allocations: 1.108 MB / 0.8462 GB, free: 13.03 MB / 0.67 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.008413/0.7527, allocations: 6.658 MB / 0.8527 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.7543, allocations: 0.5979 MB / 0.8533 GB, free: 5.332 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.7549, allocations: 285.2 kB / 0.8536 GB, free: 5.051 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.7553, allocations: 287.6 kB / 0.8539 GB, free: 4.715 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7553, allocations: 42.78 kB / 0.8539 GB, free: 4.664 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.7553, allocations: 0 / 0.8539 GB, free: 4.664 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.00236/0.7577, allocations: 0.9066 MB / 0.8548 GB, free: 3.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.7577, allocations: 55.41 kB / 0.8548 GB, free: 3.684 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.7597, allocations: 1.35 MB / 0.8562 GB, free: 2.324 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.7598, allocations: 37.7 kB / 0.8562 GB, free: 2.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.7603, allocations: 0.6833 MB / 0.8569 GB, free: 1.594 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.7605, allocations: 126.3 kB / 0.857 GB, free: 1.469 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7605, allocations: 8 kB / 0.857 GB, free: 1.461 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7606, allocations: 338 kB / 0.8573 GB, free: 1.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.7614, allocations: 321.1 kB / 0.8576 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7624, allocations: 0.6543 MB / 0.8583 GB, free: 4 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3131/1.076, allocations: 399.4 kB / 0.8586 GB, free: 209.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.076, allocations: 3 kB / 0.8586 GB, free: 209.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002368/1.078, allocations: 1.053 MB / 0.8597 GB, free: 209 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.078, allocations: 376.8 kB / 0.86 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.078, allocations: 8.781 kB / 0.86 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/1.078, allocations: 14.81 kB / 0.86 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/1.079, allocations: 209.9 kB / 0.8602 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/1.079, allocations: 19.28 kB / 0.8603 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.08, allocations: 228.7 kB / 0.8605 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/1.081, allocations: 42.2 kB / 0.8605 GB, free: 208.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.081, allocations: 6.281 kB / 0.8605 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/1.082, allocations: 0.8973 MB / 0.8614 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.082, allocations: 9.5 kB / 0.8614 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.082, allocations: 14.62 kB / 0.8614 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.083, allocations: 210.4 kB / 0.8616 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.083, allocations: 22.67 kB / 0.8617 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.084, allocations: 202.3 kB / 0.8618 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/1.084, allocations: 37.03 kB / 0.8619 GB, free: 208.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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 0.0005775/1.085, allocations: 416.8 kB / 0.8623 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/1.085, allocations: 142.1 kB / 0.8624 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.086, allocations: 0.6804 MB / 0.8631 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.086, allocations: 4.297 kB / 0.8631 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.086, allocations: 0 / 0.8631 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.086, allocations: 7.047 kB / 0.8631 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.089, allocations: 1.931 MB / 0.865 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.089, allocations: 6.078 kB / 0.865 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/1.09, allocations: 107.2 kB / 0.8651 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.09, allocations: 7.719 kB / 0.8651 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.09, allocations: 12.38 kB / 0.8651 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.09, allocations: 10.47 kB / 0.8651 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/1.09, allocations: 6 kB / 0.8651 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/1.091, allocations: 0.8374 MB / 0.8659 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/1.092, allocations: 294 kB / 0.8662 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/1.092, allocations: 10.69 kB / 0.8662 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/1.093, allocations: 118 kB / 0.8663 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/1.093, allocations: 35.36 kB / 0.8664 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/1.093, allocations: 21.16 kB / 0.8664 GB, free: 207.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001224/1.094, allocations: 0.9279 MB / 0.8673 GB, free: 207.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.094, allocations: 3.625 kB / 0.8673 GB, free: 207.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001586/1.096, allocations: 0.574 MB / 0.8679 GB, free: 207 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002105/1.098, allocations: 1.566 MB / 0.8694 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00244/1.1, allocations: 1.153 MB / 0.8705 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.1, allocations: 0.9375 kB / 0.8705 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/1.101, allocations: 280.5 kB / 0.8708 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.104, allocations: 0.6141 MB / 0.8714 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.118, allocations: 7.832 MB / 0.879 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/1.118, allocations: 1.181 MB / 0.8802 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001629/1.12, allocations: 353.8 kB / 0.8805 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/1.121, allocations: 485.4 kB / 0.881 GB, free: 201.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/1.121, allocations: 0 / 0.881 GB, free: 201.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/1.19, allocations: 33.34 MB / 0.9135 GB, free: 194.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.191, allocations: 234.3 kB / 0.9138 GB, free: 194.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.658, allocations: 0 / 0.9138 GB, free: 194.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: