Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 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.001396/0.001396, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 65.22 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.18, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5014/0.6814, allocations: 163.2 MB / 0.7438 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00616/0.6876, allocations: 4.571 MB / 0.7482 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.6881, allocations: 9.438 kB / 0.7482 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.6886, allocations: 132.7 kB / 0.7484 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.6901, allocations: 0.5368 MB / 0.7489 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.692, allocations: 0.7662 MB / 0.7496 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007805/0.6928, allocations: 0.5783 MB / 0.7502 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.6933, allocations: 218.7 kB / 0.7504 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.6944, allocations: 460.1 kB / 0.7508 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.6951, allocations: 291 kB / 0.7511 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.6952, allocations: 22 kB / 0.7511 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.6972, allocations: 0.988 MB / 0.7521 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.6973, allocations: 90.23 kB / 0.7522 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.6975, allocations: 127.8 kB / 0.7523 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.6989, allocations: 0.7149 MB / 0.753 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6989, allocations: 3.984 kB / 0.753 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6989, allocations: 2.188 kB / 0.753 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.6989, allocations: 0 / 0.753 GB, free: 15.72 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00112/0.7001, allocations: 0.5863 MB / 0.7536 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7001, allocations: 10.25 kB / 0.7536 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/0.7008, allocations: 79.11 kB / 0.7537 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.7013, allocations: 288.2 kB / 0.754 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.7013, allocations: 15.62 kB / 0.754 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.7014, allocations: 17.41 kB / 0.754 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.7019, allocations: 283.2 kB / 0.7543 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7019, allocations: 4 kB / 0.7543 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.702, allocations: 14.69 kB / 0.7543 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.702, allocations: 5.094 kB / 0.7543 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.7024, allocations: 208 kB / 0.7545 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.7042, allocations: 1.253 MB / 0.7557 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.7045, allocations: 177 kB / 0.7559 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.7048, allocations: 108.2 kB / 0.756 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008666/0.7056, allocations: 331.2 kB / 0.7563 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.7057, allocations: 42.67 kB / 0.7563 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.7057, allocations: 4 kB / 0.7563 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0009074/0.7066, allocations: 277.3 kB / 0.7566 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.7067, allocations: 154.2 kB / 0.7567 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.7071, allocations: 287.6 kB / 0.757 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.7071, allocations: 37.64 kB / 0.757 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.7073, allocations: 151.8 kB / 0.7572 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.7073, allocations: 47.28 kB / 0.7572 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.7075, allocations: 41.7 kB / 0.7573 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7076, allocations: 338.8 kB / 0.7576 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.7078, allocations: 63.95 kB / 0.7577 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.7081, allocations: 152.5 kB / 0.7578 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.7085, allocations: 207.5 kB / 0.758 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7085, allocations: 4 kB / 0.758 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005578/0.7091, allocations: 241.1 kB / 0.7582 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7091, allocations: 8 kB / 0.7582 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7091, allocations: 0 / 0.7582 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7092, allocations: 4 kB / 0.7583 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.7094, allocations: 35.97 kB / 0.7583 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7094, allocations: 7.938 kB / 0.7583 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.7096, allocations: 39.92 kB / 0.7583 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.7096, allocations: 8 kB / 0.7583 GB, free: 10.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001659/0.7098, allocations: 143.2 kB / 0.7585 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.71, allocations: 27.7 kB / 0.7585 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.7105, allocations: 198.2 kB / 0.7587 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7105, allocations: 0 / 0.7587 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7106, allocations: 4 kB / 0.7587 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7106, allocations: 3.938 kB / 0.7587 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.7116, allocations: 0.8522 MB / 0.7595 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7116, allocations: 4 kB / 0.7595 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.7118, allocations: 23.92 kB / 0.7596 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.7118, allocations: 8.156 kB / 0.7596 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.7118, allocations: 3.984 kB / 0.7596 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.7118, allocations: 4.875 kB / 0.7596 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.7118, allocations: 3.938 kB / 0.7596 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.7125, allocations: 339.4 kB / 0.7599 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.7126, allocations: 112.7 kB / 0.76 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.7127, allocations: 4 kB / 0.76 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.7128, allocations: 11.98 kB / 0.76 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.7129, allocations: 8 kB / 0.76 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.7129, allocations: 8 kB / 0.76 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000269/0.7132, allocations: 241.9 kB / 0.7603 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7132, allocations: 0 / 0.7603 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005359/0.7137, allocations: 88 kB / 0.7604 GB, free: 8.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0006508/0.7144, allocations: 228.2 kB / 0.7606 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.7149, allocations: 147.8 kB / 0.7607 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7149, allocations: 4 kB / 0.7607 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.7151, allocations: 68.7 kB / 0.7608 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.7159, allocations: 130.7 kB / 0.7609 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.717, allocations: 0.5045 MB / 0.7614 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.7174, allocations: 0.7635 MB / 0.7621 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.7177, allocations: 67.77 kB / 0.7622 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.7178, allocations: 23.44 kB / 0.7622 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7178, allocations: 3.938 kB / 0.7622 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of Templates: time 0.01235/0.7301, allocations: 5.8 MB / 0.7679 GB, free: 496 kB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)