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.00137/0.00137, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001706/0.001706, allocations: 213.3 kB / 22.99 MB, free: 4.605 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9459/0.9459, allocations: 149.9 MB / 463 MB, free: 10.32 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.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.002313/0.002313, allocations: 67.38 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1854, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5281/0.7135, allocations: 149.5 MB / 0.8742 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009521/0.723, allocations: 6.536 MB / 0.8806 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.7235, allocations: 19.81 kB / 0.8806 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.7242, allocations: 170.7 kB / 0.8808 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.7277, allocations: 1.288 MB / 0.882 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.7295, allocations: 0.669 MB / 0.8827 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.7306, allocations: 0.7602 MB / 0.8834 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.731, allocations: 241.4 kB / 0.8836 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.7327, allocations: 0.7357 MB / 0.8844 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009553/0.7337, allocations: 434.4 kB / 0.8848 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.7338, allocations: 32 kB / 0.8848 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.736, allocations: 1.04 MB / 0.8858 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.7361, allocations: 115.6 kB / 0.8859 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.7363, allocations: 159.2 kB / 0.8861 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.7378, allocations: 0.8641 MB / 0.8869 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7378, allocations: 3.984 kB / 0.8869 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7378, allocations: 0 / 0.8869 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7378, allocations: 0 / 0.8869 GB, free: 2.598 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00108/0.7389, allocations: 0.6251 MB / 0.8875 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7389, allocations: 16.03 kB / 0.8876 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.639e-05/0.739, allocations: 62.53 kB / 0.8876 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.74, allocations: 131.6 kB / 0.8877 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.7406, allocations: 275.5 kB / 0.888 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.7407, allocations: 84.05 kB / 0.8881 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.7408, allocations: 24 kB / 0.8881 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.7415, allocations: 392.9 kB / 0.8885 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7415, allocations: 0 / 0.8885 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.7415, allocations: 8 kB / 0.8885 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.7415, allocations: 11.94 kB / 0.8885 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.7421, allocations: 273.7 kB / 0.8888 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.744, allocations: 1.141 MB / 0.8899 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.7445, allocations: 190.5 kB / 0.8901 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.7447, allocations: 112.8 kB / 0.8902 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.7454, allocations: 135.8 kB / 0.8903 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7455, allocations: 39.12 kB / 0.8903 GB, free: 14.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.7455, allocations: 0 / 0.8903 GB, free: 14.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001018/0.7465, allocations: 358.8 kB / 0.8907 GB, free: 14.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7465, allocations: 55.41 kB / 0.8907 GB, free: 14.51 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.7469, allocations: 312.5 kB / 0.891 GB, free: 14.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.747, allocations: 33.7 kB / 0.8911 GB, free: 14.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.7471, allocations: 184.4 kB / 0.8912 GB, free: 13.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.7472, allocations: 55.53 kB / 0.8913 GB, free: 13.92 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.7473, allocations: 49.66 kB / 0.8913 GB, free: 13.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7474, allocations: 342.7 kB / 0.8917 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.7477, allocations: 83.94 kB / 0.8917 GB, free: 13.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.748, allocations: 225.3 kB / 0.8919 GB, free: 13.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.7484, allocations: 237.8 kB / 0.8922 GB, free: 12.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7484, allocations: 4 kB / 0.8922 GB, free: 12.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006234/0.7491, allocations: 278.3 kB / 0.8924 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7491, allocations: 13.23 kB / 0.8925 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7491, allocations: 0 / 0.8925 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7491, allocations: 4 kB / 0.8925 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.7493, allocations: 43.92 kB / 0.8925 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7493, allocations: 0 / 0.8925 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.7496, allocations: 35.77 kB / 0.8925 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.7496, allocations: 15.92 kB / 0.8926 GB, free: 12.54 MB / 0.67 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.0002054/0.7498, allocations: 153.7 kB / 0.8927 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.7499, allocations: 34.28 kB / 0.8927 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.7507, allocations: 307.9 kB / 0.893 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7507, allocations: 0 / 0.893 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7507, allocations: 4 kB / 0.893 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.7507, allocations: 3.938 kB / 0.893 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.7521, allocations: 0.7566 MB / 0.8938 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7521, allocations: 0 / 0.8938 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.7523, allocations: 47.84 kB / 0.8938 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.7523, allocations: 4 kB / 0.8938 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.7523, allocations: 4 kB / 0.8938 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.7523, allocations: 0 / 0.8938 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7523, allocations: 4.219 kB / 0.8938 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.753, allocations: 405.1 kB / 0.8942 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.7531, allocations: 64.58 kB / 0.8943 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.7532, allocations: 8 kB / 0.8943 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.7534, allocations: 11.98 kB / 0.8943 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.7535, allocations: 19.92 kB / 0.8943 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.7535, allocations: 11.98 kB / 0.8943 GB, free: 10.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002609/0.7538, allocations: 227 kB / 0.8945 GB, free: 10.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7538, allocations: 4 kB / 0.8945 GB, free: 10.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005273/0.7543, allocations: 123.7 kB / 0.8947 GB, free: 10.26 MB / 0.67 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.001368/0.7557, allocations: 1.042 MB / 0.8957 GB, free: 9.164 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.7562, allocations: 212 kB / 0.8959 GB, free: 8.957 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7562, allocations: 7.938 kB / 0.8959 GB, free: 8.949 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.7565, allocations: 111.9 kB / 0.896 GB, free: 8.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.7573, allocations: 160.9 kB / 0.8962 GB, free: 8.695 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.7618, allocations: 3.073 MB / 0.8992 GB, free: 5.461 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.762, allocations: 185.1 kB / 0.8993 GB, free: 5.258 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.7623, allocations: 76.84 kB / 0.8994 GB, free: 5.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.7625, allocations: 107.4 kB / 0.8995 GB, free: 5.082 MB / 0.67 GB Notification: Performance of SimCode: time 5.62e-07/0.7625, allocations: 0 / 0.8995 GB, free: 5.082 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04646/0.809, allocations: 11.7 MB / 0.9109 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.83, allocations: 4.062 kB / 0.9109 GB, free: 9.688 MB / 0.6856 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 15.565540777053684] Failed to read output from testmodel.py, exit status != 0: 11.93870401615277 11.959857192 11.21787617 Calling exit ...