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.0008037/0.0008037, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008597/0.0008598, allocations: 172.7 kB / 15.95 MB, free: 208 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.28/1.28, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002839, allocations: 8.969 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.331, allocations: 81.59 MB / 0.5831 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1471/0.4782, allocations: 148.2 MB / 0.7278 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.4829, allocations: 4.252 MB / 0.732 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.4831, allocations: 15.94 kB / 0.732 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.4834, allocations: 87.34 kB / 0.7321 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.4844, allocations: 382.2 kB / 0.7324 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.4857, allocations: 0.5277 MB / 0.733 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.4863, allocations: 0.6897 MB / 0.7336 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.4866, allocations: 169.2 kB / 0.7338 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.4873, allocations: 366.5 kB / 0.7341 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.4878, allocations: 283 kB / 0.7344 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.4879, allocations: 8 kB / 0.7344 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4889, allocations: 0.5067 MB / 0.7349 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.489, allocations: 83.77 kB / 0.735 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.4891, allocations: 73.58 kB / 0.7351 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.4896, allocations: 411 kB / 0.7355 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4896, allocations: 0 / 0.7355 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4896, allocations: 4 kB / 0.7355 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.4896, allocations: 0 / 0.7355 GB, free: 4.293 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007557/0.4904, allocations: 0.5567 MB / 0.736 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4904, allocations: 12.02 kB / 0.736 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.491, allocations: 67.66 kB / 0.7361 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.4914, allocations: 280.1 kB / 0.7364 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.4914, allocations: 24 kB / 0.7364 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.4915, allocations: 20 kB / 0.7364 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.4919, allocations: 295.4 kB / 0.7367 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4919, allocations: 0 / 0.7367 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.492, allocations: 4 kB / 0.7367 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.492, allocations: 4 kB / 0.7367 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.4924, allocations: 215.7 kB / 0.7369 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.4939, allocations: 1.253 MB / 0.7381 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.4941, allocations: 180.9 kB / 0.7383 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.4944, allocations: 120.2 kB / 0.7384 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/0.4951, allocations: 347.2 kB / 0.7387 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.4951, allocations: 46.67 kB / 0.7388 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.4951, allocations: 0 / 0.7388 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007213/0.4958, allocations: 293.6 kB / 0.7391 GB, free: 296 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.4959, allocations: 158.2 kB / 0.7392 GB, free: 100 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4962, allocations: 283 kB / 0.7395 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4962, allocations: 29.7 kB / 0.7395 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.4963, allocations: 147.8 kB / 0.7396 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.4964, allocations: 43.36 kB / 0.7397 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.4964, allocations: 8 kB / 0.7397 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4965, allocations: 338.8 kB / 0.74 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4967, allocations: 67.95 kB / 0.7401 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.4969, allocations: 154.1 kB / 0.7402 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4971, allocations: 91.94 kB / 0.7403 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4971, allocations: 0 / 0.7403 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000497/0.4976, allocations: 261.2 kB / 0.7406 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4976, allocations: 8.375 kB / 0.7406 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4976, allocations: 0 / 0.7406 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4977, allocations: 4 kB / 0.7406 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4979, allocations: 47.91 kB / 0.7406 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4979, allocations: 7.938 kB / 0.7406 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.4981, allocations: 39.8 kB / 0.7407 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.4981, allocations: 8 kB / 0.7407 GB, free: 14.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.4982, allocations: 149.8 kB / 0.7408 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4984, allocations: 27.67 kB / 0.7408 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.4989, allocations: 189.9 kB / 0.741 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4989, allocations: 8 kB / 0.741 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4989, allocations: 0 / 0.741 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4989, allocations: 4 kB / 0.741 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.4998, allocations: 0.8665 MB / 0.7419 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4998, allocations: 4 kB / 0.7419 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4999, allocations: 32.05 kB / 0.7419 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4999, allocations: 4 kB / 0.7419 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5, allocations: 4 kB / 0.7419 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.5, allocations: 8.141 kB / 0.7419 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5, allocations: 4 kB / 0.7419 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.5005, allocations: 355.3 kB / 0.7423 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.5006, allocations: 112.8 kB / 0.7424 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.5007, allocations: 8 kB / 0.7424 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.5008, allocations: 19.98 kB / 0.7424 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.5009, allocations: 11.92 kB / 0.7424 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5009, allocations: 8 kB / 0.7424 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002095/0.5011, allocations: 229.9 kB / 0.7427 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5011, allocations: 4 kB / 0.7427 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004005/0.5015, allocations: 87.98 kB / 0.7427 GB, free: 12.27 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 (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.0004019/0.5019, allocations: 195.4 kB / 0.7429 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.5023, allocations: 160 kB / 0.7431 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5023, allocations: 0 / 0.7431 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.5025, allocations: 71.83 kB / 0.7431 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.5032, allocations: 128.3 kB / 0.7433 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.5039, allocations: 0.5672 MB / 0.7438 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.5042, allocations: 0.7521 MB / 0.7446 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.5044, allocations: 62.94 kB / 0.7446 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.5045, allocations: 23.44 kB / 0.7446 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5045, allocations: 0 / 0.7446 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.008746/0.5132, allocations: 5.301 MB / 0.7498 GB, free: 5.031 MB / 0.5762 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)