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.0008302/0.0008302, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008967/0.0008967, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9847/0.9847, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003476, allocations: 12.81 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5053/0.6971, allocations: 146.5 MB / 0.7304 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00651/0.7036, allocations: 4.217 MB / 0.7346 GB, free: 372 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.7041, allocations: 8.688 kB / 0.7346 GB, free: 368 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.7046, allocations: 87.08 kB / 0.7346 GB, free: 316 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009919/0.7056, allocations: 259.7 kB / 0.7349 GB, free: 172 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.7065, allocations: 230.2 kB / 0.7351 GB, free: 60 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.7075, allocations: 0.6625 MB / 0.7358 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.7078, allocations: 161.1 kB / 0.7359 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.7088, allocations: 361.2 kB / 0.7363 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.7092, allocations: 183.7 kB / 0.7364 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.7092, allocations: 10.62 kB / 0.7364 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.7094, allocations: 69.34 kB / 0.7365 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.7095, allocations: 77.3 kB / 0.7366 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.7096, allocations: 69.77 kB / 0.7366 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.7098, allocations: 211.4 kB / 0.7368 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7098, allocations: 4 kB / 0.7369 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7099, allocations: 0 / 0.7369 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.7099, allocations: 0 / 0.7369 GB, free: 15.39 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.0007472/0.7106, allocations: 0.4915 MB / 0.7373 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7107, allocations: 8.969 kB / 0.7373 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.7107, allocations: 26.77 kB / 0.7374 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.7111, allocations: 278.3 kB / 0.7376 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.7111, allocations: 20.03 kB / 0.7377 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.7112, allocations: 16.66 kB / 0.7377 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.7116, allocations: 269.9 kB / 0.7379 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.7116, allocations: 1.594 kB / 0.7379 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.7117, allocations: 10.14 kB / 0.7379 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7117, allocations: 4.781 kB / 0.7379 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.712, allocations: 157.4 kB / 0.7381 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.7134, allocations: 1.377 MB / 0.7394 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.7137, allocations: 185.8 kB / 0.7396 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.7139, allocations: 101.2 kB / 0.7397 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.7142, allocations: 129.6 kB / 0.7398 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7143, allocations: 45.86 kB / 0.7399 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7143, allocations: 0 / 0.7399 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006049/0.7149, allocations: 221.8 kB / 0.7401 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.715, allocations: 194.2 kB / 0.7403 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.7153, allocations: 282 kB / 0.7405 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7153, allocations: 31.14 kB / 0.7406 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7154, allocations: 144.8 kB / 0.7407 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.7155, allocations: 38.78 kB / 0.7407 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.7155, allocations: 5.625 kB / 0.7408 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7156, allocations: 332.6 kB / 0.7411 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.7157, allocations: 53.77 kB / 0.7411 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.7159, allocations: 116.7 kB / 0.7412 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.7161, allocations: 66.62 kB / 0.7413 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7161, allocations: 2.859 kB / 0.7413 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003551/0.7164, allocations: 201.4 kB / 0.7415 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7165, allocations: 5.5 kB / 0.7415 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.7165, allocations: 5.328 kB / 0.7415 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7165, allocations: 6.969 kB / 0.7415 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.7166, allocations: 32.8 kB / 0.7415 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7167, allocations: 10.58 kB / 0.7415 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.7168, allocations: 38 kB / 0.7416 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.7169, allocations: 14.06 kB / 0.7416 GB, free: 11.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.717, allocations: 138.6 kB / 0.7417 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.7172, allocations: 28.09 kB / 0.7418 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.7175, allocations: 142.2 kB / 0.7419 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7175, allocations: 6.703 kB / 0.7419 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7175, allocations: 1.375 kB / 0.7419 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7175, allocations: 6.688 kB / 0.7419 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.7184, allocations: 0.769 MB / 0.7427 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7184, allocations: 1.188 kB / 0.7427 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.7185, allocations: 28.08 kB / 0.7427 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7185, allocations: 6.531 kB / 0.7427 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.7185, allocations: 2.562 kB / 0.7427 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7186, allocations: 2.594 kB / 0.7427 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7186, allocations: 1.25 kB / 0.7427 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.7191, allocations: 350.6 kB / 0.743 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.7192, allocations: 116.2 kB / 0.7431 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.7192, allocations: 7.219 kB / 0.7432 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.7194, allocations: 14.12 kB / 0.7432 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.7194, allocations: 10.03 kB / 0.7432 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.7194, allocations: 4.406 kB / 0.7432 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001996/0.7196, allocations: 207.5 kB / 0.7434 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7196, allocations: 0 / 0.7434 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000336/0.72, allocations: 54.84 kB / 0.7434 GB, free: 10.2 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.7203, allocations: 151.7 kB / 0.7436 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.7206, allocations: 134.5 kB / 0.7437 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7207, allocations: 0 / 0.7437 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.7208, allocations: 64.06 kB / 0.7438 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.7215, allocations: 133 kB / 0.7439 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.7223, allocations: 0.5596 MB / 0.7444 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7226, allocations: 0.7562 MB / 0.7452 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.7228, allocations: 53.67 kB / 0.7452 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.7229, allocations: 21.22 kB / 0.7452 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.7229, allocations: 0 / 0.7452 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.007839/0.7307, allocations: 3.873 MB / 0.749 GB, free: 7.035 MB / 0.5606 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)