Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001543/0.001544, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00149/0.00149, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8109/0.8109, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3517, allocations: 80.93 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1809/0.5327, allocations: 167.5 MB / 0.7486 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3392/0.8719, allocations: 6.54 MB / 0.755 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.8725, allocations: 13.16 kB / 0.755 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.873, allocations: 166 kB / 0.7552 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.875, allocations: 0.8415 MB / 0.756 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.8758, allocations: 319.2 kB / 0.7563 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.8765, allocations: 0.721 MB / 0.757 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.8768, allocations: 275.2 kB / 0.7573 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.8777, allocations: 0.5509 MB / 0.7578 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.8781, allocations: 270.8 kB / 0.7581 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.8781, allocations: 24 kB / 0.7581 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.8787, allocations: 335.2 kB / 0.7584 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.8788, allocations: 108.4 kB / 0.7585 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.879, allocations: 167.4 kB / 0.7587 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.8796, allocations: 461.8 kB / 0.7591 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8796, allocations: 3.344 kB / 0.7591 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8796, allocations: 0.9375 kB / 0.7591 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8796, allocations: 1.094 kB / 0.7591 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.0009382/0.8806, allocations: 0.6248 MB / 0.7598 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.8806, allocations: 8.609 kB / 0.7598 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.8809, allocations: 66.27 kB / 0.7598 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.8813, allocations: 306.5 kB / 0.7601 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.8813, allocations: 24.55 kB / 0.7601 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.8814, allocations: 26.33 kB / 0.7602 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.8819, allocations: 317.5 kB / 0.7605 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8819, allocations: 3.906 kB / 0.7605 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.882, allocations: 10.5 kB / 0.7605 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.882, allocations: 7.688 kB / 0.7605 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.8824, allocations: 206.2 kB / 0.7607 GB, free: 16.89 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.001635/0.8841, allocations: 1.536 MB / 0.7622 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.8843, allocations: 124.7 kB / 0.7623 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.8845, allocations: 90.64 kB / 0.7624 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.8852, allocations: 302.6 kB / 0.7627 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8853, allocations: 32.59 kB / 0.7627 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.8853, allocations: 3.328 kB / 0.7627 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007675/0.886, allocations: 273 kB / 0.763 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.8861, allocations: 56.75 kB / 0.763 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.8864, allocations: 311.4 kB / 0.7633 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.8865, allocations: 27.95 kB / 0.7634 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.8866, allocations: 186.7 kB / 0.7635 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.8866, allocations: 43.11 kB / 0.7636 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.8867, allocations: 41.42 kB / 0.7636 GB, free: 15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8869, allocations: 338.9 kB / 0.7639 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.887, allocations: 58.39 kB / 0.764 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.8872, allocations: 111.4 kB / 0.7641 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.8876, allocations: 185.7 kB / 0.7643 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8876, allocations: 5.281 kB / 0.7643 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004448/0.888, allocations: 209.1 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8881, allocations: 9.703 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8881, allocations: 3.25 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.8881, allocations: 1.625 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8883, allocations: 32.62 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.8883, allocations: 4.719 kB / 0.7645 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.8885, allocations: 33.77 kB / 0.7646 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.8885, allocations: 10.69 kB / 0.7646 GB, free: 14.53 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.0001541/0.8887, allocations: 153.3 kB / 0.7647 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.8887, allocations: 29.34 kB / 0.7647 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.8892, allocations: 210.4 kB / 0.7649 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8892, allocations: 1.844 kB / 0.7649 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8892, allocations: 2 kB / 0.765 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8892, allocations: 2.109 kB / 0.765 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.8902, allocations: 0.6865 MB / 0.7656 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.8902, allocations: 3.75 kB / 0.7656 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.8904, allocations: 25.78 kB / 0.7657 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.8904, allocations: 2.5 kB / 0.7657 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.8904, allocations: 3.156 kB / 0.7657 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.8904, allocations: 10.02 kB / 0.7657 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8904, allocations: 4.969 kB / 0.7657 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.8909, allocations: 339.2 kB / 0.766 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.891, allocations: 116.5 kB / 0.7661 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.8911, allocations: 4.125 kB / 0.7661 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.8912, allocations: 15.22 kB / 0.7661 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.8913, allocations: 10.59 kB / 0.7661 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.8913, allocations: 9 kB / 0.7661 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002644/0.8916, allocations: 223.9 kB / 0.7664 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8916, allocations: 0.5312 kB / 0.7664 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004372/0.8921, allocations: 71.22 kB / 0.7664 GB, free: 13.59 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.0003923/0.8925, allocations: 163.1 kB / 0.7666 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.8929, allocations: 162.5 kB / 0.7667 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8929, allocations: 0.5 kB / 0.7667 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.8931, allocations: 84.77 kB / 0.7668 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.894, allocations: 153.2 kB / 0.767 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.8948, allocations: 0.5801 MB / 0.7675 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.8952, allocations: 0.7841 MB / 0.7683 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.8953, allocations: 25.81 kB / 0.7683 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.8953, allocations: 0.875 kB / 0.7683 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.007327/0.9026, allocations: 4.558 MB / 0.7728 GB, free: 12.23 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)