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.001351/0.001351, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001846/0.001846, allocations: 216.5 kB / 22.99 MB, free: 4.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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9127/0.9127, allocations: 149.9 MB / 463 MB, free: 10.39 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.002406/0.002406, allocations: 70.61 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1896, allocations: 89.18 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5909/0.7805, allocations: 143.9 MB / 0.8687 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006551/0.787, allocations: 4.215 MB / 0.8728 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.7875, allocations: 15.88 kB / 0.8728 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.7881, allocations: 139 kB / 0.873 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.7899, allocations: 0.5601 MB / 0.8735 GB, free: 392 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.792, allocations: 0.7897 MB / 0.8743 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.793, allocations: 0.5884 MB / 0.8748 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.7934, allocations: 165.5 kB / 0.875 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.7951, allocations: 0.6733 MB / 0.8757 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.7959, allocations: 302.5 kB / 0.8759 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.7959, allocations: 16 kB / 0.876 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.7978, allocations: 0.8493 MB / 0.8768 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.7979, allocations: 95.72 kB / 0.8769 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.7981, allocations: 103.5 kB / 0.877 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.7996, allocations: 0.6837 MB / 0.8777 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.7996, allocations: 11.92 kB / 0.8777 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7996, allocations: 0 / 0.8777 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.7996, allocations: 4 kB / 0.8777 GB, free: 12.11 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.001234/0.8009, allocations: 0.5236 MB / 0.8782 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.8009, allocations: 8.031 kB / 0.8782 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.801, allocations: 50.55 kB / 0.8782 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/0.8017, allocations: 83.72 kB / 0.8783 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.8022, allocations: 237.6 kB / 0.8785 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.8022, allocations: 16 kB / 0.8786 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.8023, allocations: 16 kB / 0.8786 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.8028, allocations: 283.4 kB / 0.8788 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.8028, allocations: 7.938 kB / 0.8788 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.8028, allocations: 12 kB / 0.8789 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.8029, allocations: 4 kB / 0.8789 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.8033, allocations: 211.5 kB / 0.8791 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.805, allocations: 1.16 MB / 0.8802 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.8053, allocations: 177 kB / 0.8804 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.8055, allocations: 104.2 kB / 0.8805 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/0.8062, allocations: 103.9 kB / 0.8806 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.8062, allocations: 46.67 kB / 0.8806 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8062, allocations: 3.938 kB / 0.8806 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007685/0.807, allocations: 277.8 kB / 0.8809 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.8071, allocations: 158.2 kB / 0.881 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.8074, allocations: 292.2 kB / 0.8813 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.8074, allocations: 25.7 kB / 0.8813 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.8075, allocations: 151.9 kB / 0.8815 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.8076, allocations: 51.53 kB / 0.8815 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.8077, allocations: 41.7 kB / 0.8816 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8078, allocations: 334.8 kB / 0.8819 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.808, allocations: 71.84 kB / 0.882 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.8083, allocations: 253.5 kB / 0.8822 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.8087, allocations: 211.5 kB / 0.8824 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8087, allocations: 4 kB / 0.8824 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005275/0.8092, allocations: 245.2 kB / 0.8826 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8092, allocations: 4 kB / 0.8826 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8092, allocations: 4 kB / 0.8826 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8092, allocations: 0 / 0.8826 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.8094, allocations: 48.16 kB / 0.8827 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8094, allocations: 3.938 kB / 0.8827 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.8097, allocations: 35.77 kB / 0.8827 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.8097, allocations: 8 kB / 0.8827 GB, free: 6.52 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.0001625/0.8098, allocations: 153.7 kB / 0.8829 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.81, allocations: 27.84 kB / 0.8829 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.8105, allocations: 192.2 kB / 0.8831 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.8105, allocations: 4 kB / 0.8831 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8105, allocations: 3.938 kB / 0.8831 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8105, allocations: 0 / 0.8831 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.8116, allocations: 0.8109 MB / 0.8839 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.8116, allocations: 4 kB / 0.8839 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.8117, allocations: 19.98 kB / 0.8839 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.8117, allocations: 4 kB / 0.8839 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.8117, allocations: 0 / 0.8839 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8117, allocations: 4 kB / 0.8839 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8117, allocations: 0 / 0.8839 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.8123, allocations: 351.5 kB / 0.8843 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.8124, allocations: 35.86 kB / 0.8843 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.8124, allocations: 7.984 kB / 0.8843 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.8126, allocations: 8 kB / 0.8843 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.8126, allocations: 7.984 kB / 0.8843 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.8126, allocations: 4 kB / 0.8843 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002501/0.8129, allocations: 239 kB / 0.8845 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8129, allocations: 4.062 kB / 0.8845 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004613/0.8133, allocations: 103.8 kB / 0.8846 GB, free: 4.438 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.001248/0.8146, allocations: 0.9828 MB / 0.8856 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.815, allocations: 139.8 kB / 0.8857 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.815, allocations: 4 kB / 0.8857 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.8151, allocations: 59.89 kB / 0.8858 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.8159, allocations: 136.9 kB / 0.8859 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.8197, allocations: 2.766 MB / 0.8886 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.8198, allocations: 142.2 kB / 0.8888 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000248/0.8201, allocations: 75.11 kB / 0.8888 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.8202, allocations: 79.41 kB / 0.8889 GB, free: 15.87 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.8202, allocations: 0 / 0.8889 GB, free: 15.87 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.8609, allocations: 9.644 MB / 0.8983 GB, free: 6.492 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.85, allocations: 8.047 kB / 0.8983 GB, free: 6.484 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 & 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.651351701002568] Failed to read output from testmodel.py, exit status != 0: 11.965797333046794 11.988990133 11.184750622 Calling exit ...