Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001061/0.001061, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009996/0.0009996, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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.9349/0.9349, allocations: 177.1 MB / 204.5 MB, free: 5.465 MB / 186.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-535:34: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-535:42: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.7555/0.7555, allocations: 154.9 MB / 415.9 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.8e-05, allocations: 7.578 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2098/0.2098, allocations: 143.4 MB / 0.6619 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2114, allocations: 0.8549 MB / 0.6628 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.2117, allocations: 15.88 kB / 0.6628 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.212, allocations: 67.42 kB / 0.6628 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007662/0.2127, allocations: 342.1 kB / 0.6632 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.2134, allocations: 303.3 kB / 0.6635 GB, free: 232 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.214, allocations: 0.5611 MB / 0.664 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.2143, allocations: 165.5 kB / 0.6642 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.2147, allocations: 299.2 kB / 0.6644 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2149, allocations: 171.5 kB / 0.6646 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.215, allocations: 16 kB / 0.6646 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.2151, allocations: 83.86 kB / 0.6647 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.2152, allocations: 87.72 kB / 0.6648 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.2153, allocations: 87.64 kB / 0.6649 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.2156, allocations: 247.1 kB / 0.6651 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2156, allocations: 4 kB / 0.6651 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2156, allocations: 0 / 0.6651 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2156, allocations: 0 / 0.6651 GB, free: 14.53 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005623/0.2162, allocations: 0.554 MB / 0.6657 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2162, allocations: 8.031 kB / 0.6657 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.2163, allocations: 44.8 kB / 0.6657 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.2165, allocations: 241 kB / 0.6659 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2166, allocations: 12.38 kB / 0.6659 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.2166, allocations: 16.38 kB / 0.666 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2169, allocations: 250.5 kB / 0.6662 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2169, allocations: 0 / 0.6662 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2169, allocations: 12 kB / 0.6662 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2169, allocations: 4 kB / 0.6662 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.217, allocations: 57.14 kB / 0.6663 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.2182, allocations: 1.692 MB / 0.6679 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2184, allocations: 186.8 kB / 0.6681 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.2184, allocations: 74.05 kB / 0.6682 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.2186, allocations: 35.95 kB / 0.6682 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2186, allocations: 41.33 kB / 0.6682 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.2186, allocations: 0 / 0.6682 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002693/0.2189, allocations: 117.3 kB / 0.6684 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.219, allocations: 188.5 kB / 0.6685 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2191, allocations: 250.4 kB / 0.6688 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2191, allocations: 29.7 kB / 0.6688 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2192, allocations: 210.9 kB / 0.669 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2192, allocations: 39.67 kB / 0.669 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.2193, allocations: 43.34 kB / 0.6691 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2194, allocations: 0.5001 MB / 0.6696 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.2195, allocations: 12.23 kB / 0.6696 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.2196, allocations: 200 kB / 0.6698 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.2197, allocations: 113.4 kB / 0.6699 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2197, allocations: 0 / 0.6699 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001563/0.2198, allocations: 121.3 kB / 0.67 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2199, allocations: 8 kB / 0.67 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2199, allocations: 224 / 0.67 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.2199, allocations: 8 kB / 0.67 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.22, allocations: 35.92 kB / 0.67 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.22, allocations: 0 / 0.67 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.22, allocations: 16.61 kB / 0.6701 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2201, allocations: 15.98 kB / 0.6701 GB, free: 8.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 8.711e-05/0.2202, allocations: 164.6 kB / 0.6702 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.2203, allocations: 27.78 kB / 0.6703 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.2204, allocations: 74.83 kB / 0.6703 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2204, allocations: 0 / 0.6703 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2204, allocations: 8 kB / 0.6703 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2204, allocations: 0 / 0.6703 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.221, allocations: 0.8836 MB / 0.6712 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.221, allocations: 128 / 0.6712 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.2211, allocations: 20 kB / 0.6712 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2211, allocations: 4 kB / 0.6712 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2211, allocations: 0 / 0.6712 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2211, allocations: 7.984 kB / 0.6712 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2211, allocations: 0 / 0.6712 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2213, allocations: 302.2 kB / 0.6715 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2214, allocations: 31.78 kB / 0.6715 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2214, allocations: 4 kB / 0.6716 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.2215, allocations: 4 kB / 0.6716 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.2215, allocations: 15.92 kB / 0.6716 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2215, allocations: 4 kB / 0.6716 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.2216, allocations: 176.5 kB / 0.6717 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.2216, allocations: 0 / 0.6717 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003102/0.2219, allocations: 63.81 kB / 0.6718 GB, free: 7.043 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0001853/0.2221, allocations: 127.1 kB / 0.6719 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.2222, allocations: 71.52 kB / 0.672 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.2222, allocations: 0 / 0.672 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.2223, allocations: 35.61 kB / 0.672 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.2227, allocations: 65.45 kB / 0.6721 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.2234, allocations: 457.9 kB / 0.6725 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.2235, allocations: 83.97 kB / 0.6726 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.2236, allocations: 25.47 kB / 0.6726 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2237, allocations: 122.2 kB / 0.6727 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.2237, allocations: 0 / 0.6727 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of Templates: time 0.006105/0.2298, allocations: 3.014 MB / 0.6757 GB, free: 3.066 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2345352759584785]