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.001016/0.001016, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001187/0.001187, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5659/0.5659, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.842e-05, allocations: 4.109 kB / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4223/0.4223, allocations: 143.8 MB / 0.6947 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.4266, allocations: 4.199 MB / 0.6988 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.427, allocations: 14.41 kB / 0.6988 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.4274, allocations: 128.7 kB / 0.6989 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.4288, allocations: 0.5696 MB / 0.6994 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.4307, allocations: 0.8332 MB / 0.7003 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006648/0.4314, allocations: 0.5546 MB / 0.7008 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.4317, allocations: 146.9 kB / 0.7009 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.4331, allocations: 0.7373 MB / 0.7017 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.4336, allocations: 278.1 kB / 0.7019 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.4337, allocations: 18.69 kB / 0.7019 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.4352, allocations: 0.8625 MB / 0.7028 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4354, allocations: 93.92 kB / 0.7029 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.4355, allocations: 84.45 kB / 0.703 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4366, allocations: 0.7253 MB / 0.7037 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4366, allocations: 4 kB / 0.7037 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4366, allocations: 0 / 0.7037 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.4366, allocations: 5.312 kB / 0.7037 GB, free: 3.922 MB / 0.5573 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.0008087/0.4374, allocations: 0.5249 MB / 0.7042 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4375, allocations: 10.22 kB / 0.7042 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.4375, allocations: 53.84 kB / 0.7042 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.438, allocations: 80.55 kB / 0.7043 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.4383, allocations: 231.1 kB / 0.7045 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4383, allocations: 13.78 kB / 0.7046 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.4384, allocations: 21.78 kB / 0.7046 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.4387, allocations: 281.3 kB / 0.7048 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4388, allocations: 3.938 kB / 0.7049 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4388, allocations: 6.25 kB / 0.7049 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4388, allocations: 9.562 kB / 0.7049 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.439, allocations: 209.2 kB / 0.7051 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.44, allocations: 1.156 MB / 0.7062 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4402, allocations: 165.8 kB / 0.7064 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4403, allocations: 113.2 kB / 0.7065 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.4406, allocations: 105.6 kB / 0.7066 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4407, allocations: 39.12 kB / 0.7066 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.4407, allocations: 0 / 0.7066 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0004886/0.4411, allocations: 279 kB / 0.7069 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4412, allocations: 160.4 kB / 0.707 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4414, allocations: 285.2 kB / 0.7073 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4414, allocations: 36.52 kB / 0.7073 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.4415, allocations: 149.3 kB / 0.7075 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4415, allocations: 41.52 kB / 0.7075 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.4416, allocations: 42.8 kB / 0.7075 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.4416, allocations: 341.5 kB / 0.7079 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4417, allocations: 72.94 kB / 0.7079 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.4419, allocations: 240.3 kB / 0.7082 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4421, allocations: 214 kB / 0.7084 GB, free: 444 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4421, allocations: 0 / 0.7084 GB, free: 444 kB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002954/0.4424, allocations: 252 kB / 0.7086 GB, free: 336 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4424, allocations: 8.219 kB / 0.7086 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4424, allocations: 2.625 kB / 0.7086 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4424, allocations: 2.969 kB / 0.7086 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4425, allocations: 35.75 kB / 0.7087 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4425, allocations: 5.469 kB / 0.7087 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.4427, allocations: 32.62 kB / 0.7087 GB, free: 312 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.4427, allocations: 21.97 kB / 0.7087 GB, free: 304 kB / 0.5573 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 9.029e-05/0.4428, allocations: 146.4 kB / 0.7089 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.4428, allocations: 27.14 kB / 0.7089 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.4432, allocations: 191.8 kB / 0.7091 GB, free: 36 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4432, allocations: 6.25 kB / 0.7091 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4432, allocations: 5.438 kB / 0.7091 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4432, allocations: 3.938 kB / 0.7091 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.4439, allocations: 0.7985 MB / 0.7099 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4439, allocations: 2.625 kB / 0.7099 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.444, allocations: 28.97 kB / 0.7099 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.444, allocations: 6.469 kB / 0.7099 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.444, allocations: 9.016 kB / 0.7099 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.444, allocations: 1.438 kB / 0.7099 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.444, allocations: 3.312 kB / 0.7099 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.4444, allocations: 333 kB / 0.7102 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.4444, allocations: 37.55 kB / 0.7103 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.4444, allocations: 11 kB / 0.7103 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.4445, allocations: 11.06 kB / 0.7103 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.4446, allocations: 11.67 kB / 0.7103 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4446, allocations: 5.5 kB / 0.7103 GB, free: 15.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4447, allocations: 234.4 kB / 0.7105 GB, free: 14.94 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4447, allocations: 2.906 kB / 0.7105 GB, free: 14.94 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004386/0.4452, allocations: 87.78 kB / 0.7106 GB, free: 14.93 MB / 0.573 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.000931/0.4461, allocations: 0.9803 MB / 0.7116 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.4464, allocations: 149.5 kB / 0.7117 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4464, allocations: 0 / 0.7117 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.4465, allocations: 61.55 kB / 0.7118 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.447, allocations: 125.4 kB / 0.7119 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.4494, allocations: 2.744 MB / 0.7146 GB, free: 12.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4495, allocations: 149.1 kB / 0.7147 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.4497, allocations: 56.77 kB / 0.7148 GB, free: 11.97 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.4497, allocations: 76.72 kB / 0.7148 GB, free: 11.91 MB / 0.573 GB Notification: Performance of SimCode: time 7.72e-07/0.4497, allocations: 4 kB / 0.7148 GB, free: 11.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.4762, allocations: 9.558 MB / 0.7242 GB, free: 6.938 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.812, allocations: 3 kB / 0.7242 GB, free: 6.938 MB / 0.573 GB " [Timeout remaining time 652] (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: 10.265832318924367] Failed to read output from testmodel.py, exit status != 0: 7.8973382115364075 7.912508783 7.473610987 Calling exit ...