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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001876/0.001876, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.06 kB / 0.5047 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1961, allocations: 80.92 MB / 0.5837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5032/0.6994, allocations: 159.1 MB / 0.7391 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005001/0.7044, allocations: 4.552 MB / 0.7435 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.7049, allocations: 10.5 kB / 0.7435 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.7054, allocations: 103.2 kB / 0.7436 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.7061, allocations: 311.8 kB / 0.7439 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.7067, allocations: 248.4 kB / 0.7442 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.7074, allocations: 0.7889 MB / 0.7449 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.7077, allocations: 179 kB / 0.7451 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.7087, allocations: 419.4 kB / 0.7455 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.709, allocations: 196.8 kB / 0.7457 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.709, allocations: 11 kB / 0.7457 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.7092, allocations: 77.17 kB / 0.7458 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.7093, allocations: 84.59 kB / 0.7458 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.7094, allocations: 115.4 kB / 0.746 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.7097, allocations: 283.3 kB / 0.7462 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7097, allocations: 0 / 0.7462 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7097, allocations: 0 / 0.7462 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.7097, allocations: 0 / 0.7462 GB, free: 4.988 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.0007615/0.7105, allocations: 0.5291 MB / 0.7467 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7105, allocations: 13.62 kB / 0.7468 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.7106, allocations: 33.31 kB / 0.7468 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.711, allocations: 272 kB / 0.747 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.711, allocations: 15.62 kB / 0.7471 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.7111, allocations: 16.53 kB / 0.7471 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.7115, allocations: 259.4 kB / 0.7473 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7115, allocations: 8.906 kB / 0.7473 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.7115, allocations: 11.09 kB / 0.7473 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.7115, allocations: 4.938 kB / 0.7473 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.7119, allocations: 143.9 kB / 0.7475 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.7131, allocations: 1.38 MB / 0.7488 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.7134, allocations: 180.7 kB / 0.749 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.7135, allocations: 92.23 kB / 0.7491 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.7139, allocations: 123.8 kB / 0.7492 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7139, allocations: 41.59 kB / 0.7493 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.7139, allocations: 0 / 0.7493 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006003/0.7145, allocations: 210.8 kB / 0.7495 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.7146, allocations: 190.4 kB / 0.7496 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.7149, allocations: 281.9 kB / 0.7499 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.7149, allocations: 32.58 kB / 0.7499 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.715, allocations: 145.5 kB / 0.7501 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.7151, allocations: 32.33 kB / 0.7501 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.7151, allocations: 45.58 kB / 0.7501 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7152, allocations: 339.5 kB / 0.7505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.7154, allocations: 44.41 kB / 0.7505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7155, allocations: 122 kB / 0.7506 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.7158, allocations: 154.9 kB / 0.7508 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7158, allocations: 2.375 kB / 0.7508 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003319/0.7162, allocations: 189.1 kB / 0.751 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7162, allocations: 5.594 kB / 0.751 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7162, allocations: 6 kB / 0.751 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7162, allocations: 2.906 kB / 0.751 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7164, allocations: 31.48 kB / 0.751 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7164, allocations: 7.125 kB / 0.751 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.7165, allocations: 29.98 kB / 0.751 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.7166, allocations: 9.516 kB / 0.751 GB, free: 0.6719 MB / 0.5606 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.0001142/0.7167, allocations: 147.8 kB / 0.7512 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.7168, allocations: 33.09 kB / 0.7512 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.7171, allocations: 126.2 kB / 0.7513 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7171, allocations: 2.812 kB / 0.7513 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7171, allocations: 0.875 kB / 0.7513 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7171, allocations: 6.453 kB / 0.7514 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.7179, allocations: 0.7711 MB / 0.7521 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.718, allocations: 6.672 kB / 0.7521 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.7181, allocations: 23.98 kB / 0.7521 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.7181, allocations: 2.656 kB / 0.7521 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.7181, allocations: 10.47 kB / 0.7521 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7181, allocations: 10.61 kB / 0.7522 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7181, allocations: 0 / 0.7522 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.7186, allocations: 343 kB / 0.7525 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.7187, allocations: 111.8 kB / 0.7526 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.7188, allocations: 96 / 0.7526 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.7189, allocations: 19.36 kB / 0.7526 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.719, allocations: 13.44 kB / 0.7526 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.719, allocations: 2.156 kB / 0.7526 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001744/0.7192, allocations: 214.3 kB / 0.7528 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7192, allocations: 3.938 kB / 0.7528 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003281/0.7195, allocations: 60.41 kB / 0.7529 GB, free: 15.07 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.0003203/0.7198, allocations: 134.9 kB / 0.753 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.7202, allocations: 117.7 kB / 0.7531 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7202, allocations: 7.594 kB / 0.7531 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7203, allocations: 54.41 kB / 0.7532 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.7211, allocations: 123.8 kB / 0.7533 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.7219, allocations: 0.5337 MB / 0.7538 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7222, allocations: 0.7602 MB / 0.7546 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.7223, allocations: 43.98 kB / 0.7546 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.7224, allocations: 24.69 kB / 0.7546 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7224, allocations: 4 kB / 0.7546 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.007572/0.73, allocations: 4.021 MB / 0.7586 GB, free: 9.973 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)