Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008266/0.008272, allocations: 104.6 kB / 15.74 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 197.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3936/0.3936, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 72.8 kB / 456.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 59.59 MB / 0.5037 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.487/0.5997, allocations: 167.5 MB / 0.6673 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006398/0.6062, allocations: 6.51 MB / 0.6737 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.6068, allocations: 12.53 kB / 0.6737 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.6076, allocations: 254.4 kB / 0.6739 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.6094, allocations: 0.738 MB / 0.6747 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.6104, allocations: 425 kB / 0.6751 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6115, allocations: 1.082 MB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.612, allocations: 375.8 kB / 0.6765 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.6133, allocations: 0.753 MB / 0.6772 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.6139, allocations: 386 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.6139, allocations: 45.62 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.6142, allocations: 116.9 kB / 0.6777 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.6144, allocations: 186.2 kB / 0.6779 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.6147, allocations: 265.3 kB / 0.6782 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.6153, allocations: 0.652 MB / 0.6788 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6154, allocations: 2.906 kB / 0.6788 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6154, allocations: 4.297 kB / 0.6788 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.6154, allocations: 0 / 0.6788 GB, free: 15.8 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0013/0.6167, allocations: 0.7476 MB / 0.6795 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6168, allocations: 8.531 kB / 0.6796 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.617, allocations: 62.16 kB / 0.6796 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.6176, allocations: 377.3 kB / 0.68 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.6176, allocations: 25.44 kB / 0.68 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.6177, allocations: 48.7 kB / 0.68 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.6184, allocations: 402.3 kB / 0.6804 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6184, allocations: 0 / 0.6804 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.6185, allocations: 18.75 kB / 0.6804 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.6185, allocations: 10.28 kB / 0.6805 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.6191, allocations: 332.5 kB / 0.6808 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.6211, allocations: 1.414 MB / 0.6822 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.6215, allocations: 192.3 kB / 0.6823 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6217, allocations: 108.6 kB / 0.6824 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.622, allocations: 119.7 kB / 0.6826 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6221, allocations: 41.22 kB / 0.6826 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.6221, allocations: 0 / 0.6826 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006915/0.6228, allocations: 328.6 kB / 0.6829 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.6228, allocations: 57.75 kB / 0.683 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.6232, allocations: 425.6 kB / 0.6834 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.6232, allocations: 30.77 kB / 0.6834 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6234, allocations: 221.9 kB / 0.6836 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.6234, allocations: 63.08 kB / 0.6837 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.6235, allocations: 54.66 kB / 0.6837 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6236, allocations: 349.7 kB / 0.6841 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.6238, allocations: 100.8 kB / 0.6841 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.6241, allocations: 158.4 kB / 0.6843 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.6245, allocations: 252.6 kB / 0.6845 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6245, allocations: 0 / 0.6845 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000511/0.625, allocations: 330.3 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.625, allocations: 7.156 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.625, allocations: 3.406 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.6251, allocations: 2.562 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.6253, allocations: 50.78 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6253, allocations: 5.625 kB / 0.6849 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.6256, allocations: 46.89 kB / 0.685 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.6256, allocations: 13.92 kB / 0.685 GB, free: 13.13 MB / 0.5137 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 (30): * Single equations (assignments): 30 * 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.0001615/0.6258, allocations: 168.7 kB / 0.6851 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.6259, allocations: 43.92 kB / 0.6852 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.6264, allocations: 271.2 kB / 0.6854 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6264, allocations: 2.312 kB / 0.6854 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6264, allocations: 0 / 0.6854 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6264, allocations: 6.531 kB / 0.6854 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6275, allocations: 0.7888 MB / 0.6862 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6275, allocations: 7.812 kB / 0.6862 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.6277, allocations: 35.75 kB / 0.6863 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6277, allocations: 4.75 kB / 0.6863 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.6277, allocations: 12.55 kB / 0.6863 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6277, allocations: 3.438 kB / 0.6863 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6277, allocations: 2.25 kB / 0.6863 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.6285, allocations: 0.498 MB / 0.6868 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.6287, allocations: 158.3 kB / 0.6869 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.6288, allocations: 9.297 kB / 0.6869 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.6291, allocations: 17.92 kB / 0.6869 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.6291, allocations: 20.92 kB / 0.687 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.6292, allocations: 15.28 kB / 0.687 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000299/0.6295, allocations: 307.1 kB / 0.6873 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6295, allocations: 3.938 kB / 0.6873 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000419/0.6299, allocations: 112.1 kB / 0.6874 GB, free: 12.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.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 (18): * Single equations (assignments): 18 * 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.0003258/0.6303, allocations: 139.9 kB / 0.6875 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.6308, allocations: 239.7 kB / 0.6877 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6308, allocations: 3.188 kB / 0.6877 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.631, allocations: 108.8 kB / 0.6879 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6321, allocations: 246.3 kB / 0.6881 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.6333, allocations: 0.8072 MB / 0.6889 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6336, allocations: 0.8156 MB / 0.6897 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002589/0.6339, allocations: 81 kB / 0.6898 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.634, allocations: 43.78 kB / 0.6898 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.634, allocations: 1.203 kB / 0.6898 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.01294/0.6469, allocations: 7.911 MB / 0.6975 GB, free: 8.496 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)