Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0006979/0.0006979, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0007331/0.0007331, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 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 0.9559/0.9559, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7796/0.7796, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009782/0.0009782, allocations: 67.64 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5698, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1672/0.737, allocations: 173.1 MB / 0.987 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005775/0.7428, allocations: 7.249 MB / 0.994 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.743, allocations: 19.81 kB / 0.9941 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.7435, allocations: 170.7 kB / 0.9942 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.7457, allocations: 1.334 MB / 0.9955 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.7469, allocations: 0.682 MB / 0.9962 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.7476, allocations: 0.7758 MB / 0.9969 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.7479, allocations: 243.2 kB / 0.9972 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.749, allocations: 0.7513 MB / 0.9979 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.7496, allocations: 458.3 kB / 0.9983 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.7496, allocations: 28 kB / 0.9984 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.7513, allocations: 1.364 MB / 0.9997 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7514, allocations: 123.6 kB / 0.9998 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.7515, allocations: 175.1 kB / 1 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.7525, allocations: 0.9073 MB / 1.001 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7525, allocations: 0 / 1.001 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7525, allocations: 0 / 1.001 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7525, allocations: 0 / 1.001 GB, free: 9.965 MB / 0.7761 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.0007298/0.7532, allocations: 0.6368 MB / 1.001 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7533, allocations: 12.03 kB / 1.002 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.7533, allocations: 58.55 kB / 1.002 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.7539, allocations: 135.6 kB / 1.002 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.7544, allocations: 279.5 kB / 1.002 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.7544, allocations: 72.06 kB / 1.002 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.7545, allocations: 28 kB / 1.002 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.7549, allocations: 371.2 kB / 1.002 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7549, allocations: 3.938 kB / 1.002 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.755, allocations: 12 kB / 1.002 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.755, allocations: 4 kB / 1.002 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.7553, allocations: 277.7 kB / 1.003 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.7566, allocations: 1.442 MB / 1.004 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.7569, allocations: 198.5 kB / 1.004 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.757, allocations: 112.8 kB / 1.004 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.7574, allocations: 135.8 kB / 1.005 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.7574, allocations: 34.56 kB / 1.005 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.7574, allocations: 0 / 1.005 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000589/0.758, allocations: 364.1 kB / 1.005 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.758, allocations: 55.41 kB / 1.005 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.7583, allocations: 316.5 kB / 1.005 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.7583, allocations: 29.64 kB / 1.005 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7584, allocations: 192.3 kB / 1.005 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.7584, allocations: 51.59 kB / 1.006 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.7585, allocations: 49.66 kB / 1.006 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.7586, allocations: 346.7 kB / 1.006 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.7589, allocations: 79.94 kB / 1.006 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.759, allocations: 147.6 kB / 1.006 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.7593, allocations: 237.8 kB / 1.006 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7593, allocations: 4 kB / 1.006 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003602/0.7597, allocations: 284.9 kB / 1.007 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7597, allocations: 14.02 kB / 1.007 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7597, allocations: 0 / 1.007 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7597, allocations: 4 kB / 1.007 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7598, allocations: 44.11 kB / 1.007 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.7599, allocations: 0 / 1.007 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.76, allocations: 35.77 kB / 1.007 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.76, allocations: 12 kB / 1.007 GB, free: 3.641 MB / 0.7761 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.0001176/0.7601, allocations: 157.7 kB / 1.007 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.7602, allocations: 31.75 kB / 1.007 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.7606, allocations: 312.1 kB / 1.007 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7606, allocations: 0 / 1.007 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7606, allocations: 0 / 1.007 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7606, allocations: 0 / 1.007 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.7613, allocations: 0.784 MB / 1.008 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7613, allocations: 4 kB / 1.008 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.7614, allocations: 31.92 kB / 1.008 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7614, allocations: 7.938 kB / 1.008 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7614, allocations: 8 kB / 1.008 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7615, allocations: 12.2 kB / 1.008 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7615, allocations: 4 kB / 1.008 GB, free: 2.211 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.7618, allocations: 401.1 kB / 1.008 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.7619, allocations: 55.78 kB / 1.008 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.7619, allocations: 3.938 kB / 1.008 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.762, allocations: 19.98 kB / 1.008 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.7621, allocations: 19.97 kB / 1.009 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.7621, allocations: 8 kB / 1.009 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001415/0.7622, allocations: 231 kB / 1.009 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.7622, allocations: 0 / 1.009 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003236/0.7625, allocations: 127.7 kB / 1.009 GB, free: 1.328 MB / 0.7761 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.0007944/0.7633, allocations: 1.045 MB / 1.01 GB, free: 244 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.7636, allocations: 219.7 kB / 1.01 GB, free: 24 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7636, allocations: 0 / 1.01 GB, free: 24 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.7638, allocations: 111.8 kB / 1.01 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.7643, allocations: 165.8 kB / 1.01 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.7671, allocations: 3.041 MB / 1.013 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.7674, allocations: 0.791 MB / 1.014 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.7676, allocations: 80.41 kB / 1.014 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.7677, allocations: 99.41 kB / 1.014 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/0.7677, allocations: 0 / 1.014 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.7916, allocations: 10.73 MB / 1.025 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/7.726, allocations: 10.94 kB / 1.025 GB, free: 1.023 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.760357088875026] Failed to read output from testmodel.py, exit status != 0: 7.809776525013149 7.818081272 7.063806788 Calling exit ...