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.001003/0.001003, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.001012/0.001012, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3906/0.3906, allocations: 54.97 MB / 325.4 MB, free: 0.7344 MB / 254.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.0005559/0.0005561, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3312, allocations: 60.72 MB / 457.3 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1613/0.4926, allocations: 140.3 MB / 0.5836 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.4992, allocations: 5.241 MB / 0.5888 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.4996, allocations: 11.94 kB / 0.5888 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.5004, allocations: 183.1 kB / 0.5889 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.5017, allocations: 482.5 kB / 0.5894 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5028, allocations: 334.7 kB / 0.5897 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008734/0.5037, allocations: 0.5943 MB / 0.5903 GB, free: 4.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.5042, allocations: 296 kB / 0.5906 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.5056, allocations: 0.5959 MB / 0.5912 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.5061, allocations: 275.1 kB / 0.5914 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.5062, allocations: 20 kB / 0.5914 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.5065, allocations: 83.94 kB / 0.5915 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5067, allocations: 155.6 kB / 0.5917 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.5068, allocations: 113.5 kB / 0.5918 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.5073, allocations: 474.7 kB / 0.5922 GB, free: 2.336 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5073, allocations: 0 / 0.5922 GB, free: 2.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5073, allocations: 0 / 0.5922 GB, free: 2.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.5074, allocations: 0 / 0.5922 GB, free: 2.336 MB / 462.1 MB 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.001258/0.5086, allocations: 0.6723 MB / 0.5929 GB, free: 1.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5087, allocations: 12.03 kB / 0.5929 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.509, allocations: 61.14 kB / 0.593 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.5096, allocations: 350.3 kB / 0.5933 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.5096, allocations: 33.89 kB / 0.5933 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.5097, allocations: 39.98 kB / 0.5934 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.5104, allocations: 402.4 kB / 0.5938 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5104, allocations: 4 kB / 0.5938 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.5105, allocations: 24 kB / 0.5938 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5105, allocations: 8 kB / 0.5938 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.5111, allocations: 331.8 kB / 0.5941 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.5134, allocations: 1.43 MB / 0.5955 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.5139, allocations: 194.6 kB / 0.5957 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.5143, allocations: 129.9 kB / 0.5958 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5143, allocations: 38.56 kB / 0.5958 GB, free: 14.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/0.5143, allocations: 4 kB / 0.5958 GB, free: 14.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007466/0.5151, allocations: 333.3 kB / 0.5962 GB, free: 14.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5151, allocations: 59.41 kB / 0.5962 GB, free: 14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.5156, allocations: 425.6 kB / 0.5966 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.5156, allocations: 29.7 kB / 0.5967 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5158, allocations: 227.7 kB / 0.5969 GB, free: 13.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.5158, allocations: 63.09 kB / 0.5969 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.5158, allocations: 4.844 kB / 0.5969 GB, free: 13.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.516, allocations: 350.7 kB / 0.5973 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.5162, allocations: 103.9 kB / 0.5974 GB, free: 12.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.5165, allocations: 153.9 kB / 0.5975 GB, free: 12.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.5167, allocations: 116 kB / 0.5976 GB, free: 12.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5167, allocations: 0 / 0.5976 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005774/0.5173, allocations: 331.6 kB / 0.5979 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5173, allocations: 8 kB / 0.598 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5173, allocations: 0 / 0.598 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5174, allocations: 6.25 kB / 0.598 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.5176, allocations: 59.91 kB / 0.598 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5176, allocations: 9.906 kB / 0.598 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5179, allocations: 59.45 kB / 0.5981 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.5179, allocations: 8 kB / 0.5981 GB, free: 12.03 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.5181, allocations: 165.8 kB / 0.5982 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.5182, allocations: 43.52 kB / 0.5983 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.5188, allocations: 286.3 kB / 0.5986 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5188, allocations: 4 kB / 0.5986 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5188, allocations: 0.875 kB / 0.5986 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5188, allocations: 3.984 kB / 0.5986 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.52, allocations: 0.8074 MB / 0.5994 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.52, allocations: 4 kB / 0.5994 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.5202, allocations: 39.92 kB / 0.5994 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.5202, allocations: 4.75 kB / 0.5994 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.5202, allocations: 12.94 kB / 0.5994 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5203, allocations: 4 kB / 0.5994 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5203, allocations: 0 / 0.5994 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.5211, allocations: 0.5859 MB / 0.6 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.5213, allocations: 160.5 kB / 0.6001 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.5214, allocations: 7.953 kB / 0.6002 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.5217, allocations: 23.98 kB / 0.6002 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.5218, allocations: 20.91 kB / 0.6002 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.5219, allocations: 17.36 kB / 0.6002 GB, free: 9.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.5222, allocations: 299.1 kB / 0.6005 GB, free: 9.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5222, allocations: 0 / 0.6005 GB, free: 9.391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.5226, allocations: 115.8 kB / 0.6006 GB, free: 9.277 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003508/0.523, allocations: 139.8 kB / 0.6007 GB, free: 9.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.5235, allocations: 237.1 kB / 0.601 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5235, allocations: 4 kB / 0.601 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.5237, allocations: 121.3 kB / 0.6011 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5248, allocations: 229.4 kB / 0.6013 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5262, allocations: 0.9694 MB / 0.6023 GB, free: 7.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.5266, allocations: 0.8311 MB / 0.6031 GB, free: 6.715 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.5269, allocations: 85.05 kB / 0.6031 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.527, allocations: 35.44 kB / 0.6032 GB, free: 6.598 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.527, allocations: 0 / 0.6032 GB, free: 6.598 MB / 478.1 MB Notification: Performance of Templates: time 0.01298/0.54, allocations: 7.267 MB / 0.6103 GB, free: 15.45 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: