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.0009433/0.0009433, allocations: 92 kB / 15.06 MB, free: 1.098 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.001175/0.001175, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.4 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 8.219 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3502, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.155/0.5052, allocations: 152.2 MB / 0.7317 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006088/0.5114, allocations: 6.078 MB / 0.7376 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.5116, allocations: 19.88 kB / 0.7376 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.5119, allocations: 111.1 kB / 0.7378 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.5131, allocations: 0.5909 MB / 0.7383 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.5137, allocations: 272.2 kB / 0.7386 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007594/0.5145, allocations: 0.8615 MB / 0.7394 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.5148, allocations: 201.1 kB / 0.7396 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.5156, allocations: 474 kB / 0.7401 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.5159, allocations: 263 kB / 0.7403 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.5159, allocations: 12 kB / 0.7403 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.5164, allocations: 199.6 kB / 0.7405 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.5165, allocations: 95.69 kB / 0.7406 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.5165, allocations: 85.52 kB / 0.7407 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.5169, allocations: 311.2 kB / 0.741 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5169, allocations: 0 / 0.741 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5169, allocations: 0 / 0.741 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5169, allocations: 0 / 0.741 GB, free: 14.5 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.000667/0.5176, allocations: 0.5694 MB / 0.7416 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.5176, allocations: 11.97 kB / 0.7416 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.5179, allocations: 67.42 kB / 0.7416 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.5182, allocations: 293.5 kB / 0.7419 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5183, allocations: 16.56 kB / 0.7419 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.5183, allocations: 28 kB / 0.742 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.5188, allocations: 327.6 kB / 0.7423 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5189, allocations: 3.953 kB / 0.7423 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5189, allocations: 12 kB / 0.7423 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5189, allocations: 4 kB / 0.7423 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.5193, allocations: 217.5 kB / 0.7425 GB, free: 12.86 MB / 0.5762 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.001326/0.5207, allocations: 1.538 MB / 0.744 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.5209, allocations: 122.5 kB / 0.7441 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.5211, allocations: 92.81 kB / 0.7442 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.5216, allocations: 319.2 kB / 0.7445 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5217, allocations: 34.56 kB / 0.7445 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.5217, allocations: 4 kB / 0.7445 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006994/0.5224, allocations: 293.1 kB / 0.7448 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5224, allocations: 51.41 kB / 0.7449 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.5227, allocations: 312.5 kB / 0.7452 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5228, allocations: 25.7 kB / 0.7452 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.5229, allocations: 180.1 kB / 0.7454 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.5229, allocations: 43.45 kB / 0.7454 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5229, allocations: 0 / 0.7454 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.523, allocations: 338.8 kB / 0.7457 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.5232, allocations: 63.95 kB / 0.7458 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.5234, allocations: 117 kB / 0.7459 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5235, allocations: 91.83 kB / 0.746 GB, free: 9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5236, allocations: 0 / 0.746 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003948/0.524, allocations: 225.2 kB / 0.7462 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.524, allocations: 4 kB / 0.7462 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.524, allocations: 4 kB / 0.7462 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.524, allocations: 0 / 0.7462 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5242, allocations: 35.97 kB / 0.7462 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5242, allocations: 4.156 kB / 0.7463 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5244, allocations: 43.67 kB / 0.7463 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.5244, allocations: 11.98 kB / 0.7463 GB, free: 8.672 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.5245, allocations: 145.8 kB / 0.7464 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.5246, allocations: 31.66 kB / 0.7465 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.525, allocations: 224.6 kB / 0.7467 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.525, allocations: 4 kB / 0.7467 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.525, allocations: 3.938 kB / 0.7467 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5251, allocations: 0 / 0.7467 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.526, allocations: 0.699 MB / 0.7474 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.526, allocations: 3.938 kB / 0.7474 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.5262, allocations: 31.97 kB / 0.7474 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5262, allocations: 7.938 kB / 0.7474 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5262, allocations: 8 kB / 0.7474 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5262, allocations: 0 / 0.7474 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5262, allocations: 4 kB / 0.7474 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.5266, allocations: 364.2 kB / 0.7478 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.5267, allocations: 108.8 kB / 0.7479 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.5268, allocations: 8 kB / 0.7479 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.527, allocations: 24.05 kB / 0.7479 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.527, allocations: 19.94 kB / 0.7479 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.527, allocations: 4 kB / 0.7479 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002011/0.5272, allocations: 223 kB / 0.7481 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5272, allocations: 0 / 0.7481 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003773/0.5276, allocations: 67.84 kB / 0.7482 GB, free: 6.57 MB / 0.5762 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 (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.0003265/0.528, allocations: 159.9 kB / 0.7484 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.5283, allocations: 167.8 kB / 0.7485 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5284, allocations: 0 / 0.7485 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.5285, allocations: 84.64 kB / 0.7486 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.5293, allocations: 148.9 kB / 0.7487 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.5301, allocations: 0.6318 MB / 0.7494 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.5305, allocations: 0.7797 MB / 0.7501 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.5307, allocations: 54.95 kB / 0.7502 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.5307, allocations: 31.42 kB / 0.7502 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5307, allocations: 0 / 0.7502 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.008365/0.5391, allocations: 4.686 MB / 0.7548 GB, free: 15.86 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)