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.001656/0.001656, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.002051/0.002051, allocations: 223.3 kB / 23.01 MB, free: 5.074 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.938/0.938, allocations: 150 MB / 463.2 MB, free: 10.47 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="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: 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.001953/0.001953, allocations: 70.67 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.193, allocations: 89.18 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.6011/0.7941, allocations: 166.8 MB / 0.8913 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00643/0.8005, allocations: 4.637 MB / 0.8958 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.8009, allocations: 15.88 kB / 0.8958 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.8014, allocations: 131.1 kB / 0.8959 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.8032, allocations: 0.5718 MB / 0.8965 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.8057, allocations: 0.8099 MB / 0.8973 GB, free: 10.37 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.8066, allocations: 0.5885 MB / 0.8979 GB, free: 9.781 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.807, allocations: 169.3 kB / 0.898 GB, free: 9.613 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.809, allocations: 0.6889 MB / 0.8987 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.8096, allocations: 314.5 kB / 0.899 GB, free: 8.617 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.8097, allocations: 16 kB / 0.899 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.8115, allocations: 1.114 MB / 0.9001 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.8116, allocations: 95.7 kB / 0.9002 GB, free: 7.391 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.8117, allocations: 123.4 kB / 0.9003 GB, free: 7.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.8128, allocations: 0.7149 MB / 0.901 GB, free: 6.555 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8129, allocations: 4 kB / 0.901 GB, free: 6.551 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8129, allocations: 0 / 0.901 GB, free: 6.551 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8129, allocations: 0 / 0.901 GB, free: 6.551 MB / 0.67 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.001045/0.8139, allocations: 0.5392 MB / 0.9015 GB, free: 5.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.814, allocations: 12.03 kB / 0.9015 GB, free: 5.969 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.814, allocations: 46.55 kB / 0.9016 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.8146, allocations: 75.75 kB / 0.9017 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.8151, allocations: 242.2 kB / 0.9019 GB, free: 5.578 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.8151, allocations: 16 kB / 0.9019 GB, free: 5.562 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.8152, allocations: 16 kB / 0.9019 GB, free: 5.547 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.8157, allocations: 291.3 kB / 0.9022 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.8157, allocations: 3.938 kB / 0.9022 GB, free: 5.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.8157, allocations: 12 kB / 0.9022 GB, free: 5.219 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8157, allocations: 4 kB / 0.9022 GB, free: 5.215 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.8162, allocations: 207.5 kB / 0.9024 GB, free: 5.012 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.8178, allocations: 1.207 MB / 0.9036 GB, free: 3.734 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.8181, allocations: 177 kB / 0.9038 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.8183, allocations: 112.3 kB / 0.9039 GB, free: 3.391 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.8189, allocations: 103.9 kB / 0.904 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.8189, allocations: 34.56 kB / 0.904 GB, free: 3.246 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.8189, allocations: 4 kB / 0.904 GB, free: 3.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007535/0.8197, allocations: 273.2 kB / 0.9043 GB, free: 2.969 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.8198, allocations: 158.2 kB / 0.9044 GB, free: 2.777 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.8201, allocations: 292.7 kB / 0.9047 GB, free: 2.484 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.8201, allocations: 29.7 kB / 0.9047 GB, free: 2.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.8202, allocations: 155.9 kB / 0.9049 GB, free: 2.293 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.8203, allocations: 51.52 kB / 0.9049 GB, free: 2.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.8203, allocations: 45.66 kB / 0.905 GB, free: 2.191 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8205, allocations: 338.8 kB / 0.9053 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.8207, allocations: 71.84 kB / 0.9054 GB, free: 1.781 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.8209, allocations: 143.2 kB / 0.9055 GB, free: 1.613 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.8212, allocations: 212 kB / 0.9057 GB, free: 1.379 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8212, allocations: 0 / 0.9057 GB, free: 1.379 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000495/0.8217, allocations: 249.2 kB / 0.9059 GB, free: 1.129 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8218, allocations: 4 kB / 0.9059 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8218, allocations: 4 kB / 0.9059 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.8218, allocations: 4 kB / 0.9059 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.822, allocations: 36.42 kB / 0.906 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.822, allocations: 11.92 kB / 0.906 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.8222, allocations: 28.09 kB / 0.906 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.8222, allocations: 17.98 kB / 0.906 GB, free: 1.027 MB / 0.67 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.0001485/0.8223, allocations: 155.7 kB / 0.9062 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8225, allocations: 23.86 kB / 0.9062 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.8229, allocations: 193.7 kB / 0.9064 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8229, allocations: 4 kB / 0.9064 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8229, allocations: 3.938 kB / 0.9064 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8229, allocations: 4 kB / 0.9064 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.824, allocations: 0.8197 MB / 0.9072 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.824, allocations: 4 kB / 0.9072 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.8241, allocations: 27.05 kB / 0.9072 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8241, allocations: 0 / 0.9072 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.8241, allocations: 4.156 kB / 0.9072 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.8241, allocations: 8 kB / 0.9072 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8241, allocations: 3.938 kB / 0.9072 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.8247, allocations: 346.5 kB / 0.9076 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.8247, allocations: 35.91 kB / 0.9076 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.8248, allocations: 11.94 kB / 0.9076 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.8249, allocations: 7.984 kB / 0.9076 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.825, allocations: 11.92 kB / 0.9076 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.825, allocations: 8 kB / 0.9076 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002418/0.8252, allocations: 239.1 kB / 0.9079 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8252, allocations: 0 / 0.9079 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004713/0.8257, allocations: 99.8 kB / 0.908 GB, free: 14.93 MB / 0.6856 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.001163/0.8269, allocations: 0.9623 MB / 0.9089 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.8273, allocations: 155.7 kB / 0.9091 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8273, allocations: 4 kB / 0.9091 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.8274, allocations: 56.72 kB / 0.9091 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.8282, allocations: 136.3 kB / 0.9092 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.8317, allocations: 2.758 MB / 0.9119 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.8321, allocations: 0.7635 MB / 0.9127 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.8323, allocations: 63.7 kB / 0.9127 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.8324, allocations: 75.42 kB / 0.9128 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/0.8324, allocations: 0 / 0.9128 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.8704, allocations: 8.793 MB / 0.9214 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.64, allocations: 16.97 kB / 0.9214 GB, free: 1.16 MB / 0.6856 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.394828215939924] Failed to read output from testmodel.py, exit status != 0: 11.747746881097555 11.771892216 10.954490493 Calling exit ...