Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009725/0.0009725, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008978/0.0008978, allocations: 207.8 kB / 23 MB, free: 3.121 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.918/0.918, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7732/0.7732, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [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.001313/0.001313, allocations: 67.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4782, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1515/0.6297, allocations: 171.2 MB / 0.9863 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.6355, allocations: 6.657 MB / 0.9928 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.636, allocations: 15.88 kB / 0.9928 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006146/0.6366, allocations: 174.7 kB / 0.993 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.6387, allocations: 0.883 MB / 0.9938 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6398, allocations: 364.6 kB / 0.9942 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.6408, allocations: 0.729 MB / 0.9949 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.6412, allocations: 223.2 kB / 0.9951 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.643, allocations: 0.7356 MB / 0.9958 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.6433, allocations: 283 kB / 0.9961 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.6433, allocations: 20 kB / 0.9961 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.6441, allocations: 363.2 kB / 0.9965 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.6442, allocations: 107.6 kB / 0.9966 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.6443, allocations: 163.1 kB / 0.9967 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.645, allocations: 474.2 kB / 0.9972 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.645, allocations: 7.938 kB / 0.9972 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.226e-06/0.645, allocations: 0 / 0.9972 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.645, allocations: 4 kB / 0.9972 GB, free: 12.27 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008608/0.6459, allocations: 0.536 MB / 0.9977 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6459, allocations: 13.47 kB / 0.9977 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/0.6462, allocations: 67.66 kB / 0.9978 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.6466, allocations: 271.5 kB / 0.998 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.6466, allocations: 16.66 kB / 0.9981 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.6466, allocations: 31.98 kB / 0.9981 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.6471, allocations: 316.9 kB / 0.9984 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6471, allocations: 0 / 0.9984 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.6471, allocations: 12 kB / 0.9984 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6471, allocations: 8 kB / 0.9984 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.6474, allocations: 205.5 kB / 0.9986 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.6487, allocations: 1.492 MB / 1 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.6489, allocations: 114.4 kB / 1 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.649, allocations: 84.81 kB / 1 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.6494, allocations: 75.91 kB / 1 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6494, allocations: 30.56 kB / 1 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 4.007e-06/0.6494, allocations: 0 / 1 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.000578/0.65, allocations: 277.6 kB / 1.001 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.65, allocations: 55.34 kB / 1.001 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.6503, allocations: 308.5 kB / 1.001 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6503, allocations: 33.7 kB / 1.001 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.6504, allocations: 184.2 kB / 1.001 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.6505, allocations: 43.64 kB / 1.001 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.6505, allocations: 45.66 kB / 1.001 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6506, allocations: 334.8 kB / 1.002 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.6507, allocations: 59.95 kB / 1.002 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.6509, allocations: 109.9 kB / 1.002 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.6511, allocations: 179.7 kB / 1.002 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6511, allocations: 3.938 kB / 1.002 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002932/0.6514, allocations: 217.3 kB / 1.002 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.6514, allocations: 4 kB / 1.002 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6514, allocations: 15.97 kB / 1.002 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.6514, allocations: 0 / 1.002 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6516, allocations: 35.92 kB / 1.002 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6516, allocations: 0 / 1.002 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.6517, allocations: 35.97 kB / 1.002 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.6517, allocations: 8 kB / 1.002 GB, free: 6.797 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001365/0.6519, allocations: 150.7 kB / 1.002 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.6519, allocations: 31.75 kB / 1.002 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.6522, allocations: 208.3 kB / 1.003 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6523, allocations: 4 kB / 1.003 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6523, allocations: 0 / 1.003 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6523, allocations: 4 kB / 1.003 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.653, allocations: 0.6591 MB / 1.003 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.653, allocations: 7.938 kB / 1.003 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.6531, allocations: 23.98 kB / 1.003 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.6531, allocations: 4 kB / 1.003 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.6531, allocations: 8 kB / 1.003 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6531, allocations: 3.938 kB / 1.003 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6531, allocations: 7.938 kB / 1.003 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.6534, allocations: 335.2 kB / 1.004 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.6535, allocations: 43.73 kB / 1.004 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.6535, allocations: 8 kB / 1.004 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.6536, allocations: 11.92 kB / 1.004 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.6537, allocations: 16.05 kB / 1.004 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.6537, allocations: 8 kB / 1.004 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001563/0.6538, allocations: 227 kB / 1.004 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.6538, allocations: 0 / 1.004 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002995/0.6541, allocations: 75.83 kB / 1.004 GB, free: 4.863 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 (13): * Single equations (assignments): 13 * 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.0002702/0.6544, allocations: 139.1 kB / 1.004 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.6547, allocations: 155.8 kB / 1.004 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6547, allocations: 0 / 1.004 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6548, allocations: 79.88 kB / 1.004 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.6553, allocations: 161.4 kB / 1.004 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.6561, allocations: 0.5755 MB / 1.005 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6565, allocations: 0.7756 MB / 1.006 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.6565, allocations: 27.44 kB / 1.006 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of SimCode: time 1.403e-06/0.6566, allocations: 0 / 1.006 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of Templates: time 0.006268/0.6628, allocations: 4.578 MB / 1.01 GB, free: 14.36 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.822627286193892] Failed to read output from testmodel.py, exit status != 0: 0.6712341830134392 0.679619576 0.032566214 Calling exit ...