Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001123/0.001123, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.00108/0.00108, allocations: 191.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8012/0.8012, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1659/0.5079, allocations: 167.5 MB / 0.7451 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3059/0.8139, allocations: 6.533 MB / 0.7515 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004794/0.8144, allocations: 15.84 kB / 0.7515 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.815, allocations: 166.6 kB / 0.7517 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.8171, allocations: 0.8401 MB / 0.7525 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.8182, allocations: 334.7 kB / 0.7528 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.8193, allocations: 0.7165 MB / 0.7535 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.8198, allocations: 277.6 kB / 0.7538 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.8209, allocations: 0.5482 MB / 0.7543 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.8212, allocations: 268.3 kB / 0.7546 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.8212, allocations: 24.81 kB / 0.7546 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.8218, allocations: 342.9 kB / 0.7549 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.8219, allocations: 109.6 kB / 0.755 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.8221, allocations: 164.1 kB / 0.7552 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.8227, allocations: 478.6 kB / 0.7556 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8227, allocations: 0 / 0.7556 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8227, allocations: 2.781 kB / 0.7556 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.8227, allocations: 0.6875 kB / 0.7556 GB, free: 1.703 MB / 0.5762 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.0009224/0.8236, allocations: 0.6135 MB / 0.7562 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8237, allocations: 10.84 kB / 0.7562 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.824, allocations: 64.8 kB / 0.7563 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.8246, allocations: 325.7 kB / 0.7566 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.8246, allocations: 21.44 kB / 0.7566 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.8247, allocations: 25.66 kB / 0.7567 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.8253, allocations: 314.9 kB / 0.757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8253, allocations: 1.656 kB / 0.757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.8253, allocations: 12.08 kB / 0.757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.8253, allocations: 7.469 kB / 0.757 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.8258, allocations: 208.7 kB / 0.7572 GB, free: 16.9 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.8275, allocations: 1.526 MB / 0.7587 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.8278, allocations: 116.9 kB / 0.7588 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.828, allocations: 97.36 kB / 0.7589 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.8286, allocations: 303.9 kB / 0.7592 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8287, allocations: 35.38 kB / 0.7592 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8287, allocations: 1.094 kB / 0.7592 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007987/0.8295, allocations: 271.1 kB / 0.7594 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.8296, allocations: 54.81 kB / 0.7595 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.8299, allocations: 312.8 kB / 0.7598 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.8299, allocations: 29.73 kB / 0.7598 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.8301, allocations: 186.2 kB / 0.76 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.8301, allocations: 40.58 kB / 0.76 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.8302, allocations: 40.16 kB / 0.7601 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8303, allocations: 342.2 kB / 0.7604 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.8305, allocations: 58.66 kB / 0.7605 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.8307, allocations: 112.9 kB / 0.7606 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.831, allocations: 177.2 kB / 0.7607 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8311, allocations: 0 / 0.7607 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004762/0.8315, allocations: 215.5 kB / 0.7609 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8316, allocations: 7.312 kB / 0.761 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8316, allocations: 2.047 kB / 0.761 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.8316, allocations: 2.844 kB / 0.761 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.8318, allocations: 39.41 kB / 0.761 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8318, allocations: 4.469 kB / 0.761 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.832, allocations: 28.8 kB / 0.761 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.8321, allocations: 11.28 kB / 0.761 GB, free: 14.54 MB / 0.5919 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.0001554/0.8322, allocations: 150.2 kB / 0.7612 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.8323, allocations: 32.5 kB / 0.7612 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.8328, allocations: 208.5 kB / 0.7614 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.8328, allocations: 5.625 kB / 0.7614 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8328, allocations: 1.438 kB / 0.7614 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8328, allocations: 0.9688 kB / 0.7614 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8339, allocations: 0.6856 MB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8339, allocations: 5.531 kB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.8341, allocations: 29.16 kB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.8341, allocations: 2.375 kB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.8341, allocations: 4.156 kB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.8341, allocations: 5.969 kB / 0.7621 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8342, allocations: 7 kB / 0.7621 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.8347, allocations: 341.3 kB / 0.7625 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.8348, allocations: 117.2 kB / 0.7626 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.8348, allocations: 4.359 kB / 0.7626 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.835, allocations: 8.781 kB / 0.7626 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.8351, allocations: 20.31 kB / 0.7626 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.8351, allocations: 6.25 kB / 0.7626 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002656/0.8354, allocations: 228 kB / 0.7628 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8354, allocations: 0.875 kB / 0.7628 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004387/0.8358, allocations: 73.94 kB / 0.7629 GB, free: 13.6 MB / 0.5919 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.0003806/0.8362, allocations: 148.3 kB / 0.763 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.8367, allocations: 164.5 kB / 0.7632 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8367, allocations: 1.375 kB / 0.7632 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.8369, allocations: 81.56 kB / 0.7633 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.8377, allocations: 158.6 kB / 0.7634 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.8384, allocations: 0.5305 MB / 0.764 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.8388, allocations: 0.7827 MB / 0.7647 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.8389, allocations: 70.97 kB / 0.7648 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.839, allocations: 24.38 kB / 0.7648 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.839, allocations: 0.6562 kB / 0.7648 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.009653/0.8486, allocations: 5.106 MB / 0.7698 GB, free: 12.36 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)