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.00167/0.00167, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001468/0.001468, allocations: 215.8 kB / 23 MB, free: 5 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.94/0.94, allocations: 150 MB / 463.2 MB, free: 10.46 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.00258/0.00258, allocations: 62.62 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2082, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5754/0.7836, allocations: 166.8 MB / 0.8913 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.7894, allocations: 4.646 MB / 0.8958 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.7898, allocations: 11.88 kB / 0.8958 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.7902, allocations: 131.1 kB / 0.8959 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.7915, allocations: 0.5718 MB / 0.8965 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.7933, allocations: 0.8124 MB / 0.8973 GB, free: 10.35 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007026/0.794, allocations: 0.5846 MB / 0.8979 GB, free: 9.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.7943, allocations: 169.3 kB / 0.898 GB, free: 9.594 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.7958, allocations: 0.6928 MB / 0.8987 GB, free: 8.898 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.7964, allocations: 313.1 kB / 0.899 GB, free: 8.594 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.7964, allocations: 20 kB / 0.899 GB, free: 8.574 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.7982, allocations: 1.111 MB / 0.9001 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.7983, allocations: 95.72 kB / 0.9002 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7984, allocations: 119.4 kB / 0.9003 GB, free: 7.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.7995, allocations: 0.7201 MB / 0.901 GB, free: 6.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7995, allocations: 0 / 0.901 GB, free: 6.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7995, allocations: 0 / 0.901 GB, free: 6.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7995, allocations: 4 kB / 0.901 GB, free: 6.527 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.0009045/0.8004, allocations: 0.5391 MB / 0.9015 GB, free: 5.957 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8004, allocations: 12.03 kB / 0.9015 GB, free: 5.945 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.8005, allocations: 50.55 kB / 0.9016 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.8012, allocations: 79.73 kB / 0.9017 GB, free: 5.809 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.8016, allocations: 237.7 kB / 0.9019 GB, free: 5.551 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.8016, allocations: 12 kB / 0.9019 GB, free: 5.539 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.8016, allocations: 20 kB / 0.9019 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.8021, allocations: 288.5 kB / 0.9022 GB, free: 5.211 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8021, allocations: 3.938 kB / 0.9022 GB, free: 5.207 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.8021, allocations: 11.94 kB / 0.9022 GB, free: 5.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8022, allocations: 4 kB / 0.9022 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.8026, allocations: 207.5 kB / 0.9024 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.8041, allocations: 1.21 MB / 0.9036 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.8044, allocations: 169 kB / 0.9038 GB, free: 3.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.8046, allocations: 116.2 kB / 0.9039 GB, free: 3.367 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.8052, allocations: 103.8 kB / 0.904 GB, free: 3.266 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.8052, allocations: 38.69 kB / 0.904 GB, free: 3.219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.8052, allocations: 0 / 0.904 GB, free: 3.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007327/0.806, allocations: 277.6 kB / 0.9043 GB, free: 2.941 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.8061, allocations: 162.2 kB / 0.9044 GB, free: 2.746 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.8064, allocations: 288.2 kB / 0.9047 GB, free: 2.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.8064, allocations: 33.7 kB / 0.9047 GB, free: 2.418 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.8065, allocations: 147.9 kB / 0.9049 GB, free: 2.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.8066, allocations: 47.58 kB / 0.9049 GB, free: 2.223 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.8066, allocations: 49.78 kB / 0.905 GB, free: 2.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8068, allocations: 334.8 kB / 0.9053 GB, free: 1.832 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.8069, allocations: 71.84 kB / 0.9054 GB, free: 1.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.8072, allocations: 142.4 kB / 0.9055 GB, free: 1.594 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.8075, allocations: 220.2 kB / 0.9057 GB, free: 1.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8075, allocations: 0 / 0.9057 GB, free: 1.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004925/0.808, allocations: 245.4 kB / 0.9059 GB, free: 1.105 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.808, allocations: 4 kB / 0.9059 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8081, allocations: 4 kB / 0.9059 GB, free: 1.098 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8081, allocations: 4 kB / 0.9059 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.8083, allocations: 39.92 kB / 0.906 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8083, allocations: 7.938 kB / 0.906 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.8085, allocations: 24.39 kB / 0.906 GB, free: 1.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.8085, allocations: 16 kB / 0.906 GB, free: 1.008 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.0001502/0.8087, allocations: 155.8 kB / 0.9062 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8088, allocations: 24.23 kB / 0.9062 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.8093, allocations: 195.9 kB / 0.9064 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.8093, allocations: 4 kB / 0.9064 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8093, allocations: 3.938 kB / 0.9064 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8093, allocations: 4 kB / 0.9064 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.8103, allocations: 0.8151 MB / 0.9072 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8103, allocations: 7.938 kB / 0.9072 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.8104, allocations: 27.97 kB / 0.9072 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8104, allocations: 0 / 0.9072 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8104, allocations: 4.562 kB / 0.9072 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.8104, allocations: 4 kB / 0.9072 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8104, allocations: 0 / 0.9072 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.811, allocations: 359.6 kB / 0.9076 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.8111, allocations: 35.78 kB / 0.9076 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.8111, allocations: 4 kB / 0.9076 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.8113, allocations: 8.078 kB / 0.9076 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.8113, allocations: 15.92 kB / 0.9076 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.8113, allocations: 4 kB / 0.9076 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002443/0.8116, allocations: 235 kB / 0.9079 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8116, allocations: 0 / 0.9079 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004955/0.812, allocations: 99.88 kB / 0.908 GB, free: 14.91 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.001131/0.8132, allocations: 0.974 MB / 0.9089 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.8136, allocations: 147.8 kB / 0.9091 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8136, allocations: 0 / 0.9091 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8137, allocations: 55.91 kB / 0.9091 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.8145, allocations: 141.9 kB / 0.9092 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.8179, allocations: 2.765 MB / 0.9119 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.8183, allocations: 0.7558 MB / 0.9127 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.8185, allocations: 61.64 kB / 0.9127 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.8186, allocations: 75.41 kB / 0.9128 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/0.8186, allocations: 0 / 0.9128 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.8556, allocations: 8.805 MB / 0.9214 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.61, allocations: 10.44 kB / 0.9214 GB, free: 1.141 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.38091114299823] Failed to read output from testmodel.py, exit status != 0: 11.712635027997749 11.726290649 10.923776473 Calling exit ...