Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8412/0.8412, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 403.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 115.6 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009859/0.000986, allocations: 55.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1445, allocations: 80.21 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4578/0.6024, allocations: 159.1 MB / 0.7955 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005406/0.6078, allocations: 4.547 MB / 0.8 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.6083, allocations: 11.94 kB / 0.8 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.6088, allocations: 103.3 kB / 0.8001 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.6097, allocations: 314.7 kB / 0.8004 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.6105, allocations: 242 kB / 0.8006 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008081/0.6113, allocations: 0.7913 MB / 0.8014 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.6116, allocations: 185.4 kB / 0.8016 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.6125, allocations: 418.4 kB / 0.802 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.6128, allocations: 207.2 kB / 0.8022 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.6129, allocations: 8 kB / 0.8022 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.6131, allocations: 71.94 kB / 0.8022 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.6132, allocations: 79.72 kB / 0.8023 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.6133, allocations: 119.4 kB / 0.8024 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.6136, allocations: 283.1 kB / 0.8027 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6136, allocations: 0 / 0.8027 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6136, allocations: 0 / 0.8027 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.6136, allocations: 0 / 0.8027 GB, free: 12.7 MB / 0.5417 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.0008359/0.6145, allocations: 0.537 MB / 0.8032 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6145, allocations: 12.02 kB / 0.8032 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.6146, allocations: 31.66 kB / 0.8033 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.615, allocations: 272.7 kB / 0.8035 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.615, allocations: 12.62 kB / 0.8035 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.6151, allocations: 23.98 kB / 0.8036 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.6155, allocations: 254.1 kB / 0.8038 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6155, allocations: 3.938 kB / 0.8038 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.6155, allocations: 11.94 kB / 0.8038 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6155, allocations: 7.938 kB / 0.8038 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.6159, allocations: 147.8 kB / 0.804 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.6172, allocations: 1.375 MB / 0.8053 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.6175, allocations: 179.5 kB / 0.8055 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.6177, allocations: 97.11 kB / 0.8056 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.6181, allocations: 121 kB / 0.8057 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6181, allocations: 46.5 kB / 0.8057 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.6181, allocations: 0 / 0.8057 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0006072/0.6187, allocations: 213.7 kB / 0.8059 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.6188, allocations: 187.9 kB / 0.8061 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.6191, allocations: 287 kB / 0.8064 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.6191, allocations: 29.7 kB / 0.8064 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6192, allocations: 151.8 kB / 0.8066 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.6193, allocations: 27.56 kB / 0.8066 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.6194, allocations: 33.7 kB / 0.8066 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6195, allocations: 342.8 kB / 0.807 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.6196, allocations: 51.89 kB / 0.807 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6198, allocations: 113.3 kB / 0.8071 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.6201, allocations: 158.7 kB / 0.8073 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6201, allocations: 0 / 0.8073 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003695/0.6205, allocations: 189.1 kB / 0.8074 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6205, allocations: 8 kB / 0.8075 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6205, allocations: 0 / 0.8075 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6206, allocations: 4 kB / 0.8075 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6207, allocations: 36.14 kB / 0.8075 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6207, allocations: 3.984 kB / 0.8075 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.6209, allocations: 31.73 kB / 0.8075 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.621, allocations: 8 kB / 0.8075 GB, free: 7.301 MB / 0.5417 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 0.0001402/0.6211, allocations: 149.7 kB / 0.8077 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.6212, allocations: 27.66 kB / 0.8077 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.6216, allocations: 132.5 kB / 0.8078 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6216, allocations: 7.984 kB / 0.8078 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6216, allocations: 0 / 0.8078 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6216, allocations: 4 kB / 0.8078 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.6225, allocations: 0.769 MB / 0.8086 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6225, allocations: 4 kB / 0.8086 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.6227, allocations: 24.3 kB / 0.8086 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6227, allocations: 7.984 kB / 0.8086 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.6227, allocations: 4 kB / 0.8086 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6227, allocations: 11.94 kB / 0.8086 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6227, allocations: 0 / 0.8086 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.627, allocations: 1.879 MB / 0.8105 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.6271, allocations: 108.8 kB / 0.8106 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.6272, allocations: 11.94 kB / 0.8106 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.6273, allocations: 7.984 kB / 0.8106 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.6274, allocations: 11.98 kB / 0.8106 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6274, allocations: 4 kB / 0.8106 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002038/0.6276, allocations: 209.9 kB / 0.8108 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6276, allocations: 0 / 0.8108 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004502/0.6281, allocations: 80.06 kB / 0.8109 GB, free: 3.602 MB / 0.5417 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.0002992/0.6284, allocations: 136.5 kB / 0.811 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.6288, allocations: 120.2 kB / 0.8111 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6288, allocations: 4.062 kB / 0.8111 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.6289, allocations: 63.83 kB / 0.8112 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.6297, allocations: 126.9 kB / 0.8113 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.6306, allocations: 0.6725 MB / 0.812 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.6309, allocations: 0.7599 MB / 0.8127 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.631, allocations: 54.23 kB / 0.8128 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.6311, allocations: 23.44 kB / 0.8128 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6311, allocations: 3.938 kB / 0.8128 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of Templates: time 0.007363/0.6385, allocations: 4.116 MB / 0.8168 GB, free: 13.5 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)