Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.584/1.584, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.16 kB / 0.5053 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1739, allocations: 80.93 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5187/0.6927, allocations: 161.3 MB / 0.7419 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006662/0.6994, allocations: 4.535 MB / 0.7464 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.7, allocations: 11.16 kB / 0.7464 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.7007, allocations: 125.2 kB / 0.7465 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.7018, allocations: 328.5 kB / 0.7468 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.7027, allocations: 279.2 kB / 0.7471 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.7034, allocations: 0.5628 MB / 0.7476 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.7039, allocations: 200.1 kB / 0.7478 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.7051, allocations: 461.7 kB / 0.7482 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.7054, allocations: 192.3 kB / 0.7484 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.7055, allocations: 17.06 kB / 0.7484 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.7057, allocations: 74.44 kB / 0.7485 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.7058, allocations: 88.88 kB / 0.7486 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.7059, allocations: 123 kB / 0.7487 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.7063, allocations: 301.9 kB / 0.749 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7063, allocations: 0 / 0.749 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7063, allocations: 0 / 0.749 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.7063, allocations: 0 / 0.749 GB, free: 2.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009024/0.7072, allocations: 0.5348 MB / 0.7495 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7073, allocations: 10.06 kB / 0.7495 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.7074, allocations: 32.06 kB / 0.7496 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.7078, allocations: 273.2 kB / 0.7498 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.7078, allocations: 15.81 kB / 0.7498 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.7079, allocations: 16.38 kB / 0.7499 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.7083, allocations: 269.4 kB / 0.7501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7083, allocations: 3.938 kB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.7084, allocations: 6.719 kB / 0.7501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.7084, allocations: 5.094 kB / 0.7501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.7087, allocations: 147.3 kB / 0.7503 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.7101, allocations: 1.373 MB / 0.7516 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.7105, allocations: 184.6 kB / 0.7518 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.7106, allocations: 95.53 kB / 0.7519 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.711, allocations: 119.4 kB / 0.752 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.711, allocations: 48.95 kB / 0.752 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.7111, allocations: 0 / 0.752 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006377/0.7117, allocations: 203.3 kB / 0.7522 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.7118, allocations: 190.4 kB / 0.7524 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.7121, allocations: 289.4 kB / 0.7527 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7121, allocations: 28.45 kB / 0.7527 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7122, allocations: 149.9 kB / 0.7529 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.7123, allocations: 41.42 kB / 0.7529 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.7123, allocations: 30.78 kB / 0.7529 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7125, allocations: 334 kB / 0.7533 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.7126, allocations: 51.45 kB / 0.7533 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.7129, allocations: 112.4 kB / 0.7534 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.7132, allocations: 164.5 kB / 0.7536 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7132, allocations: 4 kB / 0.7536 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003814/0.7136, allocations: 192.3 kB / 0.7538 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7136, allocations: 7.812 kB / 0.7538 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7136, allocations: 0 / 0.7538 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7136, allocations: 2.5 kB / 0.7538 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.7138, allocations: 34.81 kB / 0.7538 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7138, allocations: 7.938 kB / 0.7538 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.714, allocations: 25.95 kB / 0.7538 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.714, allocations: 11.97 kB / 0.7538 GB, free: 14.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.000159/0.7142, allocations: 142.2 kB / 0.754 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.7143, allocations: 25.38 kB / 0.754 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.7147, allocations: 134.7 kB / 0.7541 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7147, allocations: 6.375 kB / 0.7541 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7147, allocations: 2.25 kB / 0.7541 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7147, allocations: 2.438 kB / 0.7541 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.7156, allocations: 0.7719 MB / 0.7549 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7157, allocations: 4.031 kB / 0.7549 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.7158, allocations: 26.33 kB / 0.7549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.7158, allocations: 3.469 kB / 0.7549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.7158, allocations: 0 / 0.7549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7158, allocations: 1.812 kB / 0.7549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7159, allocations: 2.781 kB / 0.7549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.7164, allocations: 341.3 kB / 0.7553 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.7166, allocations: 107.4 kB / 0.7554 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.7166, allocations: 6.812 kB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.7167, allocations: 17.36 kB / 0.7554 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.7168, allocations: 12.77 kB / 0.7554 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.7168, allocations: 7.094 kB / 0.7554 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002066/0.717, allocations: 209.7 kB / 0.7556 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.717, allocations: 96 / 0.7556 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003605/0.7174, allocations: 66.69 kB / 0.7557 GB, free: 12.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0004074/0.7178, allocations: 142.1 kB / 0.7558 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.7182, allocations: 123.7 kB / 0.7559 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7182, allocations: 0 / 0.7559 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.7183, allocations: 62.36 kB / 0.756 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.7191, allocations: 127.3 kB / 0.7561 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.72, allocations: 494.4 kB / 0.7566 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.7204, allocations: 0.7558 MB / 0.7573 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.7205, allocations: 50.14 kB / 0.7574 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.7206, allocations: 23.44 kB / 0.7574 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.7206, allocations: 0 / 0.7574 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.009941/0.7306, allocations: 4.239 MB / 0.7615 GB, free: 7.078 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)