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.0009311/0.0009311, allocations: 86.64 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.001021/0.001021, 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003039, allocations: 15.94 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1674, allocations: 83.41 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4185/0.5859, allocations: 148.3 MB / 0.7423 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.5915, allocations: 4.261 MB / 0.7465 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.5918, allocations: 9.219 kB / 0.7465 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.5922, allocations: 85.19 kB / 0.7466 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.5935, allocations: 387.9 kB / 0.7469 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.5952, allocations: 0.5237 MB / 0.7475 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009331/0.5961, allocations: 0.6781 MB / 0.7481 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.5965, allocations: 162.4 kB / 0.7483 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.5975, allocations: 375.2 kB / 0.7486 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.5981, allocations: 271 kB / 0.7489 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.5982, allocations: 12 kB / 0.7489 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.5996, allocations: 0.5106 MB / 0.7494 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.5998, allocations: 88.8 kB / 0.7495 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.5999, allocations: 73.58 kB / 0.7495 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.6007, allocations: 415.1 kB / 0.7499 GB, free: 132 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.6007, allocations: 0 / 0.7499 GB, free: 132 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6007, allocations: 0 / 0.7499 GB, free: 132 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.6007, allocations: 0 / 0.7499 GB, free: 132 kB / 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.001107/0.6018, allocations: 0.5567 MB / 0.7505 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6019, allocations: 16.03 kB / 0.7505 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.846e-05/0.602, allocations: 50.55 kB / 0.7506 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.6027, allocations: 76.67 kB / 0.7506 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.6031, allocations: 275.5 kB / 0.7509 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.6032, allocations: 20.44 kB / 0.7509 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.6032, allocations: 19.91 kB / 0.7509 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.6037, allocations: 288.5 kB / 0.7512 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6038, allocations: 4 kB / 0.7512 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.6038, allocations: 11.94 kB / 0.7512 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6038, allocations: 4 kB / 0.7512 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.6042, allocations: 218.2 kB / 0.7514 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.6059, allocations: 1.254 MB / 0.7527 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.6063, allocations: 181 kB / 0.7528 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.6065, allocations: 112.2 kB / 0.7529 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.6072, allocations: 351.2 kB / 0.7533 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6072, allocations: 46.64 kB / 0.7533 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.6073, allocations: 0 / 0.7533 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007313/0.608, allocations: 289.5 kB / 0.7536 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.6081, allocations: 158.2 kB / 0.7537 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.6084, allocations: 287.1 kB / 0.754 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.6084, allocations: 33.7 kB / 0.754 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.6085, allocations: 147.8 kB / 0.7542 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.6085, allocations: 43.44 kB / 0.7542 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6086, allocations: 4 kB / 0.7542 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6087, allocations: 330.8 kB / 0.7545 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.6088, allocations: 71.95 kB / 0.7546 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6091, allocations: 153 kB / 0.7548 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.6093, allocations: 96.5 kB / 0.7549 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6093, allocations: 0 / 0.7549 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005002/0.6098, allocations: 249.1 kB / 0.7551 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6098, allocations: 7.953 kB / 0.7551 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6098, allocations: 4.625 kB / 0.7551 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6098, allocations: 4.812 kB / 0.7551 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.61, allocations: 52.16 kB / 0.7552 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6101, allocations: 384 / 0.7552 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6103, allocations: 31.77 kB / 0.7552 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.6103, allocations: 12 kB / 0.7552 GB, free: 10.33 MB / 0.5762 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.0001557/0.6105, allocations: 149.8 kB / 0.7553 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6106, allocations: 31.56 kB / 0.7554 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.6111, allocations: 199.7 kB / 0.7556 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.6111, allocations: 4 kB / 0.7556 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6112, allocations: 4.625 kB / 0.7556 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6112, allocations: 4 kB / 0.7556 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6122, allocations: 0.8665 MB / 0.7564 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6122, allocations: 5.125 kB / 0.7564 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.6123, allocations: 36.08 kB / 0.7565 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6123, allocations: 0 / 0.7565 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.6124, allocations: 4 kB / 0.7565 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6124, allocations: 3.984 kB / 0.7565 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6124, allocations: 4 kB / 0.7565 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.613, allocations: 355.4 kB / 0.7568 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6131, allocations: 115.9 kB / 0.7569 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.6132, allocations: 11.98 kB / 0.7569 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.6133, allocations: 8 kB / 0.7569 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6134, allocations: 7.984 kB / 0.7569 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.6134, allocations: 11.94 kB / 0.757 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002359/0.6136, allocations: 229.9 kB / 0.7572 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6136, allocations: 4.062 kB / 0.7572 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004476/0.6141, allocations: 99.92 kB / 0.7573 GB, free: 8.051 MB / 0.5762 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 (10): * Single equations (assignments): 10 * 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.001173/0.6153, allocations: 0.9861 MB / 0.7582 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.6157, allocations: 164 kB / 0.7584 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6157, allocations: 0 / 0.7584 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.6158, allocations: 67.83 kB / 0.7585 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.6166, allocations: 122.9 kB / 0.7586 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.619, allocations: 1.596 MB / 0.7601 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6193, allocations: 0.756 MB / 0.7609 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.6196, allocations: 72.8 kB / 0.7609 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6197, allocations: 75.41 kB / 0.761 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of SimCode: time 4.8e-07/0.6197, allocations: 0 / 0.761 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.6398, allocations: 7.973 MB / 0.7688 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.64, allocations: 229.1 kB / 0.769 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.545, allocations: 0 / 0.769 GB, free: 12.11 MB / 0.5919 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: