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.001414/0.001414, allocations: 115 kB / 16.37 MB, free: 6.34 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.001387/0.001387, allocations: 190.2 kB / 17.3 MB, free: 5.895 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.44 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1839, allocations: 80.2 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5989/0.7829, allocations: 167.5 MB / 0.8239 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007503/0.7905, allocations: 6.535 MB / 0.8303 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.7911, allocations: 19.16 kB / 0.8303 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.7917, allocations: 166.5 kB / 0.8305 GB, free: 188 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.7941, allocations: 0.8432 MB / 0.8313 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.7951, allocations: 324.7 kB / 0.8316 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009417/0.7961, allocations: 0.7257 MB / 0.8323 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.7965, allocations: 280 kB / 0.8326 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.7979, allocations: 0.5385 MB / 0.8331 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.7983, allocations: 276 kB / 0.8333 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.7984, allocations: 22.25 kB / 0.8334 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.7992, allocations: 348 kB / 0.8337 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.7993, allocations: 113 kB / 0.8338 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.7995, allocations: 166.7 kB / 0.834 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.8002, allocations: 467.9 kB / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8002, allocations: 2.219 kB / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8002, allocations: 0 / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.8002, allocations: 0 / 0.8344 GB, free: 13.57 MB / 0.6075 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.0008673/0.8011, allocations: 0.6227 MB / 0.835 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8011, allocations: 13.5 kB / 0.835 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.8015, allocations: 62.02 kB / 0.8351 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.802, allocations: 316.3 kB / 0.8354 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.802, allocations: 22.97 kB / 0.8354 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.802, allocations: 25.28 kB / 0.8354 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.8026, allocations: 313.5 kB / 0.8357 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8026, allocations: 0 / 0.8357 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.8026, allocations: 10.84 kB / 0.8358 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.8026, allocations: 11.69 kB / 0.8358 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.803, allocations: 210.1 kB / 0.836 GB, free: 12.32 MB / 0.6075 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.001468/0.8045, allocations: 1.531 MB / 0.8375 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.8048, allocations: 118.4 kB / 0.8376 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.805, allocations: 93.2 kB / 0.8377 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.8055, allocations: 302.1 kB / 0.838 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.8056, allocations: 37.16 kB / 0.838 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.8056, allocations: 0 / 0.838 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007394/0.8063, allocations: 274.5 kB / 0.8382 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.8064, allocations: 51.41 kB / 0.8383 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.8067, allocations: 313.8 kB / 0.8386 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.8067, allocations: 27.64 kB / 0.8386 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.8068, allocations: 183.7 kB / 0.8388 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.8069, allocations: 42.2 kB / 0.8388 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.807, allocations: 41.2 kB / 0.8389 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8071, allocations: 339.7 kB / 0.8392 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.8072, allocations: 58.33 kB / 0.8393 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.8074, allocations: 114.5 kB / 0.8394 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.8078, allocations: 179.4 kB / 0.8395 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8078, allocations: 0 / 0.8395 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004033/0.8082, allocations: 219.5 kB / 0.8397 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8082, allocations: 4.406 kB / 0.8398 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8082, allocations: 6.938 kB / 0.8398 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8082, allocations: 6.438 kB / 0.8398 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.8084, allocations: 29.36 kB / 0.8398 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.8084, allocations: 9.531 kB / 0.8398 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.8086, allocations: 41.98 kB / 0.8398 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.8087, allocations: 7.812 kB / 0.8398 GB, free: 8.992 MB / 0.6075 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.0001507/0.8088, allocations: 154.8 kB / 0.84 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.8089, allocations: 24.47 kB / 0.84 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.8093, allocations: 211.3 kB / 0.8402 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8093, allocations: 2.875 kB / 0.8402 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8093, allocations: 0 / 0.8402 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.8093, allocations: 3.984 kB / 0.8402 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.8103, allocations: 0.6853 MB / 0.8409 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8104, allocations: 0 / 0.8409 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.8105, allocations: 30.33 kB / 0.8409 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8105, allocations: 2.781 kB / 0.8409 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.8105, allocations: 6.031 kB / 0.8409 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.8105, allocations: 6.594 kB / 0.8409 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8105, allocations: 2.875 kB / 0.8409 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.811, allocations: 332 kB / 0.8413 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.8111, allocations: 119.2 kB / 0.8414 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.8112, allocations: 6.562 kB / 0.8414 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.8113, allocations: 9.328 kB / 0.8414 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.8114, allocations: 15.7 kB / 0.8414 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.8114, allocations: 9.812 kB / 0.8414 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002012/0.8116, allocations: 223.7 kB / 0.8416 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8116, allocations: 0 / 0.8416 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003788/0.812, allocations: 76.31 kB / 0.8417 GB, free: 7.527 MB / 0.6075 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.0003514/0.8123, allocations: 152.7 kB / 0.8418 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.8127, allocations: 165 kB / 0.842 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8127, allocations: 0 / 0.842 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.8129, allocations: 86.11 kB / 0.8421 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.8137, allocations: 158.3 kB / 0.8422 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.8146, allocations: 0.5597 MB / 0.8428 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.815, allocations: 0.7807 MB / 0.8435 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.8151, allocations: 25.09 kB / 0.8436 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.8151, allocations: 0 / 0.8436 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.007184/0.8223, allocations: 4.548 MB / 0.848 GB, free: 3.719 MB / 0.6075 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)