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.006225/0.006225, allocations: 104.5 kB / 15.73 MB, free: 6.039 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.001206/0.001206, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9518/0.9518, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.41, allocations: 80.91 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.185/0.595, allocations: 167.5 MB / 0.8283 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009447/0.6045, allocations: 6.541 MB / 0.8347 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.6052, allocations: 11.94 kB / 0.8347 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.6059, allocations: 166.8 kB / 0.8348 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.6087, allocations: 0.883 MB / 0.8357 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.6097, allocations: 325.4 kB / 0.836 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.6109, allocations: 0.7174 MB / 0.8367 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.6115, allocations: 270.7 kB / 0.837 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.6128, allocations: 0.5721 MB / 0.8375 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.6134, allocations: 267 kB / 0.8378 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.6135, allocations: 20 kB / 0.8378 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.6143, allocations: 351.2 kB / 0.8381 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.6144, allocations: 107.7 kB / 0.8382 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.6147, allocations: 167.1 kB / 0.8384 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.6155, allocations: 480.5 kB / 0.8388 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6155, allocations: 0 / 0.8388 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6155, allocations: 0 / 0.8388 GB, free: 14.64 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.6155, allocations: 0 / 0.8388 GB, free: 14.64 MB / 0.67 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.0009671/0.6165, allocations: 0.6078 MB / 0.8394 GB, free: 13.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6165, allocations: 12.03 kB / 0.8395 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.6169, allocations: 59.44 kB / 0.8395 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.6174, allocations: 329.2 kB / 0.8398 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6175, allocations: 28.5 kB / 0.8398 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.6175, allocations: 24 kB / 0.8399 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.6181, allocations: 323.6 kB / 0.8402 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6181, allocations: 0 / 0.8402 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.6181, allocations: 12 kB / 0.8402 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6181, allocations: 7.938 kB / 0.8402 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.6186, allocations: 209.5 kB / 0.8404 GB, free: 12.93 MB / 0.67 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.001502/0.6201, allocations: 1.53 MB / 0.8419 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.6203, allocations: 118.5 kB / 0.842 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.6205, allocations: 92.8 kB / 0.8421 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.6211, allocations: 299.2 kB / 0.8424 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6211, allocations: 42.55 kB / 0.8424 GB, free: 10.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.6211, allocations: 4 kB / 0.8424 GB, free: 10.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007361/0.6219, allocations: 265.1 kB / 0.8427 GB, free: 10.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6219, allocations: 51.41 kB / 0.8427 GB, free: 10.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.6222, allocations: 316.5 kB / 0.843 GB, free: 10 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.6223, allocations: 25.7 kB / 0.8431 GB, free: 9.969 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6224, allocations: 188.1 kB / 0.8432 GB, free: 9.781 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.6225, allocations: 47.28 kB / 0.8433 GB, free: 9.734 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.6225, allocations: 41.7 kB / 0.8433 GB, free: 9.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6227, allocations: 338.8 kB / 0.8436 GB, free: 9.348 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.6228, allocations: 55.95 kB / 0.8437 GB, free: 9.293 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.6231, allocations: 113.1 kB / 0.8438 GB, free: 9.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.6234, allocations: 173 kB / 0.844 GB, free: 8.977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6234, allocations: 4 kB / 0.844 GB, free: 8.973 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004458/0.6239, allocations: 221 kB / 0.8442 GB, free: 8.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6239, allocations: 11.94 kB / 0.8442 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6239, allocations: 0 / 0.8442 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6239, allocations: 4 kB / 0.8442 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.6241, allocations: 35.97 kB / 0.8442 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.6241, allocations: 8.156 kB / 0.8442 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.6243, allocations: 19.83 kB / 0.8443 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.6243, allocations: 12 kB / 0.8443 GB, free: 8.66 MB / 0.67 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.0001453/0.6245, allocations: 149.7 kB / 0.8444 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.6246, allocations: 31.62 kB / 0.8444 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.625, allocations: 206.6 kB / 0.8446 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.625, allocations: 8 kB / 0.8446 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.625, allocations: 0 / 0.8446 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.625, allocations: 0 / 0.8446 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.626, allocations: 0.6873 MB / 0.8453 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6261, allocations: 4 kB / 0.8453 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6262, allocations: 23.98 kB / 0.8453 GB, free: 7.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.6262, allocations: 7.938 kB / 0.8454 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6262, allocations: 4 kB / 0.8454 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.6262, allocations: 7.875 kB / 0.8454 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6262, allocations: 4 kB / 0.8454 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.6267, allocations: 341.3 kB / 0.8457 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6268, allocations: 128.7 kB / 0.8458 GB, free: 6.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.6268, allocations: 7.984 kB / 0.8458 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.627, allocations: 8 kB / 0.8458 GB, free: 6.914 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.6271, allocations: 11.98 kB / 0.8458 GB, free: 6.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.6271, allocations: 4 kB / 0.8458 GB, free: 6.898 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002237/0.6273, allocations: 227 kB / 0.8461 GB, free: 6.676 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6273, allocations: 4 kB / 0.8461 GB, free: 6.672 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004298/0.6277, allocations: 67.84 kB / 0.8461 GB, free: 6.605 MB / 0.67 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.0004206/0.6282, allocations: 162 kB / 0.8463 GB, free: 6.445 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.6286, allocations: 159.8 kB / 0.8464 GB, free: 6.289 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6286, allocations: 0 / 0.8464 GB, free: 6.289 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.6288, allocations: 76.58 kB / 0.8465 GB, free: 6.215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.6296, allocations: 166 kB / 0.8467 GB, free: 6.059 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.6307, allocations: 0.5319 MB / 0.8472 GB, free: 5.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.6311, allocations: 0.7795 MB / 0.8479 GB, free: 4.676 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.6313, allocations: 66.92 kB / 0.848 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.6313, allocations: 27.44 kB / 0.848 GB, free: 4.586 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.6314, allocations: 0 / 0.848 GB, free: 4.586 MB / 0.67 GB Notification: Performance of Templates: time 0.0113/0.6427, allocations: 5.142 MB / 0.8531 GB, free: 15.53 MB / 0.6856 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)