Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.001849/0.001849, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002628/0.002628, allocations: 204 kB / 20.09 MB, free: 2.977 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9475/0.9475, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.001922/0.001922, allocations: 73.3 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.171, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6032/0.7743, allocations: 172.9 MB / 0.892 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008364/0.7826, allocations: 7.179 MB / 0.899 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006535/0.7833, allocations: 16.66 kB / 0.899 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.7838, allocations: 175.2 kB / 0.8992 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.7873, allocations: 1.308 MB / 0.9005 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.789, allocations: 0.636 MB / 0.9011 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.7901, allocations: 0.7558 MB / 0.9019 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.7904, allocations: 260.7 kB / 0.9021 GB, free: 2.582 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.792, allocations: 0.7338 MB / 0.9028 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.7929, allocations: 453.6 kB / 0.9033 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.7929, allocations: 26.92 kB / 0.9033 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.7954, allocations: 1.323 MB / 0.9046 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.7955, allocations: 117 kB / 0.9047 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.7958, allocations: 180.7 kB / 0.9049 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.7976, allocations: 0.9106 MB / 0.9057 GB, free: 2.496 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7976, allocations: 4 kB / 0.9057 GB, free: 2.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.706e-06/0.7976, allocations: 3.562 kB / 0.9057 GB, free: 2.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7976, allocations: 0 / 0.9057 GB, free: 2.492 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001289/0.7989, allocations: 0.7116 MB / 0.9064 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7989, allocations: 8.062 kB / 0.9065 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/0.799, allocations: 63.72 kB / 0.9065 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.8, allocations: 136.6 kB / 0.9066 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.8005, allocations: 336.1 kB / 0.907 GB, free: 17.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.8006, allocations: 49.95 kB / 0.907 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.8007, allocations: 28.92 kB / 0.907 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.8013, allocations: 370.2 kB / 0.9074 GB, free: 17.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8013, allocations: 0 / 0.9074 GB, free: 17.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.8013, allocations: 9.812 kB / 0.9074 GB, free: 17.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8013, allocations: 11.72 kB / 0.9074 GB, free: 17.56 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.8018, allocations: 270.9 kB / 0.9077 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.8036, allocations: 1.492 MB / 0.9091 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.8039, allocations: 188.5 kB / 0.9093 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.8041, allocations: 115.7 kB / 0.9094 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009656/0.8051, allocations: 0.506 MB / 0.9099 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.8051, allocations: 41.53 kB / 0.91 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.8051, allocations: 0 / 0.91 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0008834/0.806, allocations: 357.3 kB / 0.9103 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.8061, allocations: 57.17 kB / 0.9103 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.8064, allocations: 316.3 kB / 0.9106 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.8064, allocations: 29.39 kB / 0.9107 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.8065, allocations: 183.7 kB / 0.9109 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.8065, allocations: 55.22 kB / 0.9109 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.8066, allocations: 44.89 kB / 0.9109 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8068, allocations: 342.8 kB / 0.9113 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.8069, allocations: 87.81 kB / 0.9114 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.8071, allocations: 152.2 kB / 0.9115 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.8075, allocations: 237.1 kB / 0.9117 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8075, allocations: 2.875 kB / 0.9117 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005447/0.8081, allocations: 283.5 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8081, allocations: 9.094 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8081, allocations: 1.812 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8081, allocations: 4.516 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.8083, allocations: 44.61 kB / 0.9121 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8083, allocations: 2.094 kB / 0.9121 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.8086, allocations: 26.3 kB / 0.9121 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.8086, allocations: 14.55 kB / 0.9121 GB, free: 15.11 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001783/0.8088, allocations: 163.3 kB / 0.9123 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.8089, allocations: 35.16 kB / 0.9123 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.8095, allocations: 303.1 kB / 0.9126 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8095, allocations: 0 / 0.9126 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.8095, allocations: 2.406 kB / 0.9126 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8096, allocations: 2.578 kB / 0.9126 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.8108, allocations: 0.8103 MB / 0.9134 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.8108, allocations: 3.031 kB / 0.9134 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.8109, allocations: 43.62 kB / 0.9134 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8109, allocations: 4.406 kB / 0.9134 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.811, allocations: 6.531 kB / 0.9134 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.811, allocations: 3.406 kB / 0.9134 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.811, allocations: 5.5 kB / 0.9134 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.8115, allocations: 398.5 kB / 0.9138 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.8116, allocations: 140.4 kB / 0.914 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.8117, allocations: 7.75 kB / 0.914 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.8119, allocations: 21.44 kB / 0.914 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.812, allocations: 11.14 kB / 0.914 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.812, allocations: 13.39 kB / 0.914 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001962/0.8122, allocations: 225.2 kB / 0.9142 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8122, allocations: 0 / 0.9142 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005468/0.8128, allocations: 123.7 kB / 0.9143 GB, free: 14.12 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001211/0.814, allocations: 1.052 MB / 0.9154 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.8144, allocations: 213.8 kB / 0.9156 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8144, allocations: 3.297 kB / 0.9156 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.8146, allocations: 114.3 kB / 0.9157 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/0.8154, allocations: 168.2 kB / 0.9158 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.8191, allocations: 3.066 MB / 0.9188 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.8196, allocations: 0.7843 MB / 0.9196 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000255/0.8198, allocations: 81.91 kB / 0.9197 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.82, allocations: 107 kB / 0.9198 GB, free: 11 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/0.82, allocations: 0 / 0.9198 GB, free: 11 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.8568, allocations: 10.52 MB / 0.9301 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.259, allocations: 16.97 kB / 0.9301 GB, free: 8.973 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.166261072969064] Failed to read output from testmodel.py, exit status != 0: 9.331470943056047 9.345812838 8.545210203 Calling exit ...