Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.00129/0.00129, allocations: 99.7 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.001542/0.001542, allocations: 177.3 kB / 15.95 MB, free: 216 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.086/1.086, allocations: 143.3 MB / 434.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003367, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 83.41 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5792/0.7812, allocations: 137 MB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.7864, allocations: 3.579 MB / 0.7346 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.7867, allocations: 6.781 kB / 0.7346 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.7874, allocations: 156.2 kB / 0.7348 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.7885, allocations: 364 kB / 0.7351 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.7904, allocations: 0.5678 MB / 0.7357 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.791, allocations: 350.9 kB / 0.736 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.7913, allocations: 164.8 kB / 0.7362 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008678/0.7922, allocations: 323.4 kB / 0.7365 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.7927, allocations: 227.1 kB / 0.7367 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.7928, allocations: 11 kB / 0.7367 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7938, allocations: 433.7 kB / 0.7371 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.7939, allocations: 81.5 kB / 0.7372 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.794, allocations: 74.27 kB / 0.7373 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.7946, allocations: 358.6 kB / 0.7376 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.7946, allocations: 4 kB / 0.7376 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7946, allocations: 0 / 0.7376 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7946, allocations: 4 kB / 0.7376 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008211/0.7955, allocations: 0.5318 MB / 0.7381 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7955, allocations: 9.297 kB / 0.7381 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.7956, allocations: 53.94 kB / 0.7382 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.7963, allocations: 82.64 kB / 0.7383 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.7966, allocations: 276.7 kB / 0.7385 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7967, allocations: 16 kB / 0.7386 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.7967, allocations: 20.41 kB / 0.7386 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.7972, allocations: 289.9 kB / 0.7389 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7972, allocations: 0 / 0.7389 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.7973, allocations: 4.656 kB / 0.7389 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.7973, allocations: 8 kB / 0.7389 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.7977, allocations: 215.9 kB / 0.7391 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.7994, allocations: 1.264 MB / 0.7403 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.7997, allocations: 188.2 kB / 0.7405 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.8001, allocations: 137.1 kB / 0.7406 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.8001, allocations: 51.16 kB / 0.7407 GB, free: 8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.8001, allocations: 0 / 0.7407 GB, free: 8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008247/0.801, allocations: 325.2 kB / 0.741 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.801, allocations: 158.7 kB / 0.7411 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.8014, allocations: 285.5 kB / 0.7414 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.8014, allocations: 30.45 kB / 0.7414 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.8015, allocations: 143.4 kB / 0.7416 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.8016, allocations: 51.52 kB / 0.7416 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.8016, allocations: 384 / 0.7416 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8017, allocations: 343 kB / 0.7419 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.8019, allocations: 80.97 kB / 0.742 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.8022, allocations: 165.8 kB / 0.7422 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.8024, allocations: 101.1 kB / 0.7423 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.8024, allocations: 4 kB / 0.7423 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005535/0.803, allocations: 279.9 kB / 0.7425 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.803, allocations: 4 kB / 0.7425 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.803, allocations: 9.219 kB / 0.7426 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8031, allocations: 0.75 kB / 0.7426 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8033, allocations: 41.94 kB / 0.7426 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8033, allocations: 4.516 kB / 0.7426 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.8035, allocations: 35.66 kB / 0.7426 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.8035, allocations: 9.219 kB / 0.7426 GB, free: 6.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001512/0.8037, allocations: 150.9 kB / 0.7428 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.8038, allocations: 28.23 kB / 0.7428 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.8044, allocations: 231.4 kB / 0.743 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8044, allocations: 7.953 kB / 0.743 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8044, allocations: 3.938 kB / 0.743 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.8045, allocations: 1.078 kB / 0.743 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.8057, allocations: 0.923 MB / 0.7439 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8057, allocations: 0 / 0.7439 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.8059, allocations: 33.84 kB / 0.744 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8059, allocations: 4 kB / 0.744 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.8059, allocations: 4.859 kB / 0.744 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8059, allocations: 5.156 kB / 0.744 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8059, allocations: 0 / 0.744 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.8067, allocations: 491.7 kB / 0.7445 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.8068, allocations: 115.5 kB / 0.7446 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.8069, allocations: 12.61 kB / 0.7446 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.807, allocations: 12.42 kB / 0.7446 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.8071, allocations: 7.75 kB / 0.7446 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.8071, allocations: 12.72 kB / 0.7446 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002451/0.8074, allocations: 220.7 kB / 0.7448 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.791e-06/0.8074, allocations: 0 / 0.7448 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005404/0.8079, allocations: 98.12 kB / 0.7449 GB, free: 3.797 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (12): * Single equations (assignments): 12 * 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.001508/0.8094, allocations: 1.468 MB / 0.7464 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.8099, allocations: 185 kB / 0.7465 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8099, allocations: 4.5 kB / 0.7465 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.8101, allocations: 89.48 kB / 0.7466 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.8109, allocations: 126 kB / 0.7467 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.814, allocations: 2.855 MB / 0.7495 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.8144, allocations: 0.7624 MB / 0.7503 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.8147, allocations: 69.42 kB / 0.7503 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8148, allocations: 76.53 kB / 0.7504 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.8148, allocations: 4 kB / 0.7504 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.835, allocations: 8.138 MB / 0.7584 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.8352, allocations: 224.1 kB / 0.7586 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.725, allocations: 3.125 kB / 0.7586 GB, free: 6.473 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: