Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008504/0.008504, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001659/0.001659, allocations: 189.3 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8012/0.8012, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 63.89 kB / 0.5814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4814, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1992/0.6807, allocations: 163.2 MB / 0.8191 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005954/0.6867, allocations: 4.578 MB / 0.8236 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.6872, allocations: 11.94 kB / 0.8236 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.6877, allocations: 119.1 kB / 0.8237 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.6893, allocations: 0.5601 MB / 0.8242 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.6913, allocations: 0.7831 MB / 0.825 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007287/0.6921, allocations: 0.5768 MB / 0.8256 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.6924, allocations: 209.2 kB / 0.8258 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.6935, allocations: 482.2 kB / 0.8262 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.694, allocations: 290.9 kB / 0.8265 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.6941, allocations: 20 kB / 0.8265 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.6958, allocations: 1.005 MB / 0.8275 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.6959, allocations: 87.77 kB / 0.8276 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.6961, allocations: 131.3 kB / 0.8277 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.6971, allocations: 0.7227 MB / 0.8284 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6971, allocations: 0 / 0.8284 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6972, allocations: 4 kB / 0.8284 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6972, allocations: 0 / 0.8284 GB, free: 8.867 MB / 0.6544 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.000973/0.6982, allocations: 0.588 MB / 0.829 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6982, allocations: 16.02 kB / 0.829 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006376/0.6988, allocations: 71.66 kB / 0.8291 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.6993, allocations: 296 kB / 0.8294 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6993, allocations: 16 kB / 0.8294 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.6993, allocations: 20 kB / 0.8294 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.6998, allocations: 295.4 kB / 0.8297 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6998, allocations: 3.938 kB / 0.8297 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.6999, allocations: 7.938 kB / 0.8297 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.6999, allocations: 8 kB / 0.8297 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.7003, allocations: 203.5 kB / 0.8299 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.7018, allocations: 1.249 MB / 0.8311 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.7021, allocations: 173 kB / 0.8313 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.7023, allocations: 116.2 kB / 0.8314 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.7031, allocations: 335.3 kB / 0.8317 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7031, allocations: 38.5 kB / 0.8317 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.7031, allocations: 0 / 0.8317 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007528/0.7039, allocations: 277.4 kB / 0.832 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.704, allocations: 166.2 kB / 0.8322 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.7043, allocations: 283 kB / 0.8324 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.7043, allocations: 33.7 kB / 0.8325 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.7045, allocations: 143.9 kB / 0.8326 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.7045, allocations: 47.41 kB / 0.8326 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.7046, allocations: 45.7 kB / 0.8327 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7047, allocations: 338.8 kB / 0.833 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.7049, allocations: 71.84 kB / 0.8331 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.7051, allocations: 140.5 kB / 0.8332 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.7055, allocations: 211.5 kB / 0.8334 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7055, allocations: 0 / 0.8334 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005013/0.706, allocations: 245.2 kB / 0.8337 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.706, allocations: 7.984 kB / 0.8337 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.706, allocations: 4 kB / 0.8337 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.706, allocations: 4 kB / 0.8337 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.7062, allocations: 39.92 kB / 0.8337 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7063, allocations: 7.938 kB / 0.8337 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.7064, allocations: 19.83 kB / 0.8337 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.7065, allocations: 16 kB / 0.8337 GB, free: 2.949 MB / 0.6544 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.0001384/0.7066, allocations: 153.8 kB / 0.8339 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7068, allocations: 28 kB / 0.8339 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.7072, allocations: 189.1 kB / 0.8341 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7073, allocations: 7.984 kB / 0.8341 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7073, allocations: 3.938 kB / 0.8341 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.7073, allocations: 4 kB / 0.8341 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.7082, allocations: 0.855 MB / 0.8349 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7083, allocations: 0 / 0.8349 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.7084, allocations: 23.98 kB / 0.835 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7084, allocations: 0 / 0.835 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7084, allocations: 8 kB / 0.835 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7084, allocations: 3.938 kB / 0.835 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7084, allocations: 4 kB / 0.835 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.709, allocations: 347.3 kB / 0.8353 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.7091, allocations: 112.8 kB / 0.8354 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.7092, allocations: 8 kB / 0.8354 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.7093, allocations: 8.078 kB / 0.8354 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.7094, allocations: 15.92 kB / 0.8355 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.7094, allocations: 4 kB / 0.8355 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002417/0.7097, allocations: 233.9 kB / 0.8357 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7097, allocations: 0 / 0.8357 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004884/0.7102, allocations: 96 kB / 0.8358 GB, free: 0.7227 MB / 0.6544 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.0005415/0.7107, allocations: 218.6 kB / 0.836 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.7111, allocations: 151.8 kB / 0.8361 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7111, allocations: 0 / 0.8361 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.7113, allocations: 55.91 kB / 0.8362 GB, free: 312 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.712, allocations: 144.2 kB / 0.8363 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.7128, allocations: 0.4998 MB / 0.8368 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.7132, allocations: 0.7597 MB / 0.8375 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.7133, allocations: 54.95 kB / 0.8376 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.7134, allocations: 23.44 kB / 0.8376 GB, free: 14.77 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.7134, allocations: 4 kB / 0.8376 GB, free: 14.76 MB / 0.67 GB Notification: Performance of Templates: time 0.01056/0.724, allocations: 5.832 MB / 0.8433 GB, free: 9.016 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)