Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 215.7 kB / 23.78 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9543/0.9543, allocations: 150 MB / 463.9 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 70.86 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 89.18 MB / 0.7291 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5488/0.7312, allocations: 143.8 MB / 0.8695 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005568/0.7368, allocations: 4.211 MB / 0.8736 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.7371, allocations: 11.88 kB / 0.8736 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.7375, allocations: 131 kB / 0.8737 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.7389, allocations: 0.5679 MB / 0.8743 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.7407, allocations: 0.7975 MB / 0.8751 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.7414, allocations: 0.5846 MB / 0.8756 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.7417, allocations: 165.5 kB / 0.8758 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.7432, allocations: 0.6772 MB / 0.8764 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.7438, allocations: 305.1 kB / 0.8767 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.7439, allocations: 20 kB / 0.8768 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.7452, allocations: 0.861 MB / 0.8776 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.7453, allocations: 91.7 kB / 0.8777 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.7455, allocations: 111.5 kB / 0.8778 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.7464, allocations: 0.6773 MB / 0.8785 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7464, allocations: 4 kB / 0.8785 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7464, allocations: 0 / 0.8785 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.7464, allocations: 0 / 0.8785 GB, free: 11.84 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009153/0.7473, allocations: 0.5313 MB / 0.879 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7474, allocations: 12.03 kB / 0.879 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.512e-05/0.7474, allocations: 4 kB / 0.879 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.7475, allocations: 50.55 kB / 0.879 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.7481, allocations: 79.73 kB / 0.8791 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.7485, allocations: 237.7 kB / 0.8793 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.7485, allocations: 12.56 kB / 0.8794 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.7486, allocations: 27.92 kB / 0.8794 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.7491, allocations: 291.3 kB / 0.8797 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7491, allocations: 0 / 0.8797 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.7492, allocations: 8 kB / 0.8797 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.7492, allocations: 11.94 kB / 0.8797 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.7496, allocations: 211.5 kB / 0.8799 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.7512, allocations: 1.16 MB / 0.881 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.7515, allocations: 173 kB / 0.8812 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.7517, allocations: 104.2 kB / 0.8813 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006338/0.7523, allocations: 103.9 kB / 0.8814 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.7524, allocations: 46.67 kB / 0.8814 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.7524, allocations: 0 / 0.8814 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007569/0.7531, allocations: 277.7 kB / 0.8817 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.7532, allocations: 166.2 kB / 0.8818 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.7535, allocations: 284.2 kB / 0.8821 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.7536, allocations: 33.7 kB / 0.8821 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.7537, allocations: 147.9 kB / 0.8823 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.7537, allocations: 51.56 kB / 0.8823 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.7538, allocations: 41.66 kB / 0.8824 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7539, allocations: 338.8 kB / 0.8827 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.7541, allocations: 67.86 kB / 0.8828 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.7544, allocations: 253.6 kB / 0.883 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.7548, allocations: 216 kB / 0.8832 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7548, allocations: 4 kB / 0.8832 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005035/0.7553, allocations: 240 kB / 0.8834 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7553, allocations: 8 kB / 0.8835 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7553, allocations: 0 / 0.8835 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7553, allocations: 6.438 kB / 0.8835 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.7555, allocations: 39.97 kB / 0.8835 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7555, allocations: 12.12 kB / 0.8835 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.7557, allocations: 32.2 kB / 0.8835 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.7558, allocations: 12 kB / 0.8836 GB, free: 6.227 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.7559, allocations: 145.8 kB / 0.8837 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7561, allocations: 27.86 kB / 0.8837 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.7565, allocations: 190.9 kB / 0.8839 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7565, allocations: 0 / 0.8839 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7565, allocations: 7.938 kB / 0.8839 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7565, allocations: 7.922 kB / 0.8839 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.7575, allocations: 0.8039 MB / 0.8847 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7575, allocations: 0 / 0.8847 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.7576, allocations: 26.67 kB / 0.8847 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7576, allocations: 0 / 0.8847 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.7576, allocations: 4 kB / 0.8847 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7577, allocations: 3.984 kB / 0.8847 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.7577, allocations: 7.938 kB / 0.8847 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.7582, allocations: 347.6 kB / 0.8851 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.7583, allocations: 43.78 kB / 0.8851 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.7583, allocations: 8 kB / 0.8851 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.7585, allocations: 4 kB / 0.8851 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.7585, allocations: 11.98 kB / 0.8851 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.7585, allocations: 4 kB / 0.8851 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002413/0.7588, allocations: 239 kB / 0.8854 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7588, allocations: 0 / 0.8854 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004458/0.7592, allocations: 95.81 kB / 0.8855 GB, free: 4.152 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.7604, allocations: 0.9749 MB / 0.8864 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.7608, allocations: 147.8 kB / 0.8866 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7608, allocations: 0 / 0.8866 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7609, allocations: 59.89 kB / 0.8866 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.7616, allocations: 135.9 kB / 0.8867 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.7651, allocations: 2.766 MB / 0.8894 GB, free: 15.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.7652, allocations: 158.1 kB / 0.8896 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.7654, allocations: 59.83 kB / 0.8896 GB, free: 15.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7656, allocations: 75.41 kB / 0.8897 GB, free: 15.58 MB / 0.67 GB Notification: Performance of SimCode: time 3.7e-07/0.7656, allocations: 0 / 0.8897 GB, free: 15.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.7977, allocations: 9.275 MB / 0.8988 GB, free: 6.617 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.98, allocations: 13.88 kB / 0.8988 GB, free: 6.609 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.759984745993279] Failed to read output from testmodel.py, exit status != 0: 12.137055226019584 12.151411749 11.401957675 Calling exit ...