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.001357/0.001357, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.00118/0.00118, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8037/0.8037, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.92 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1534, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5367/0.6901, allocations: 163.2 MB / 0.8197 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006363/0.6966, allocations: 4.576 MB / 0.8242 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.6972, allocations: 11.72 kB / 0.8242 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.6979, allocations: 127.3 kB / 0.8243 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.6996, allocations: 0.5405 MB / 0.8249 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.7017, allocations: 0.769 MB / 0.8256 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009194/0.7027, allocations: 0.5756 MB / 0.8262 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.7031, allocations: 221.9 kB / 0.8264 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.7044, allocations: 452.6 kB / 0.8268 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.7051, allocations: 299.6 kB / 0.8271 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.7052, allocations: 17.59 kB / 0.8271 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.7072, allocations: 1.003 MB / 0.8281 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.7074, allocations: 83.09 kB / 0.8282 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.7076, allocations: 131.3 kB / 0.8283 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.7094, allocations: 0.7248 MB / 0.829 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7094, allocations: 0 / 0.829 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7094, allocations: 0 / 0.829 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7095, allocations: 0 / 0.829 GB, free: 2.293 MB / 0.5919 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.001317/0.7108, allocations: 0.5934 MB / 0.8296 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7108, allocations: 7.531 kB / 0.8296 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.7116, allocations: 72.5 kB / 0.8297 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.7121, allocations: 301.3 kB / 0.83 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.7122, allocations: 15.69 kB / 0.83 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.7122, allocations: 16.84 kB / 0.83 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.7128, allocations: 288.1 kB / 0.8303 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7128, allocations: 3 kB / 0.8303 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.7129, allocations: 11.94 kB / 0.8303 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7129, allocations: 5.25 kB / 0.8303 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.7134, allocations: 212.9 kB / 0.8305 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.7152, allocations: 1.242 MB / 0.8317 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.7156, allocations: 174.6 kB / 0.8319 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.7158, allocations: 112 kB / 0.832 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/0.7167, allocations: 332.8 kB / 0.8323 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.7167, allocations: 37.16 kB / 0.8323 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.005e-06/0.7167, allocations: 0 / 0.8323 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008358/0.7176, allocations: 282 kB / 0.8326 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7177, allocations: 161.1 kB / 0.8328 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.718, allocations: 287.3 kB / 0.833 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.7181, allocations: 26.2 kB / 0.8331 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.7182, allocations: 152 kB / 0.8332 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.7183, allocations: 45.36 kB / 0.8332 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7184, allocations: 46.61 kB / 0.8333 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7185, allocations: 336.2 kB / 0.8336 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.7187, allocations: 69.53 kB / 0.8337 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.719, allocations: 152.6 kB / 0.8338 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.7194, allocations: 210.8 kB / 0.834 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7194, allocations: 3.984 kB / 0.834 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006312/0.7201, allocations: 244.5 kB / 0.8343 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.7201, allocations: 5.469 kB / 0.8343 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7201, allocations: 5.844 kB / 0.8343 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.7202, allocations: 2.5 kB / 0.8343 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.7204, allocations: 38.22 kB / 0.8343 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7204, allocations: 8.219 kB / 0.8343 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.7206, allocations: 33.89 kB / 0.8343 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.7207, allocations: 14.62 kB / 0.8344 GB, free: 13.76 MB / 0.6075 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.0001513/0.7208, allocations: 146.7 kB / 0.8345 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.721, allocations: 23.91 kB / 0.8345 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.7215, allocations: 195.1 kB / 0.8347 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7215, allocations: 2.719 kB / 0.8347 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7215, allocations: 0 / 0.8347 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.7215, allocations: 6.125 kB / 0.8347 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.7227, allocations: 0.8522 MB / 0.8356 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7227, allocations: 6.844 kB / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.7228, allocations: 21.02 kB / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.7229, allocations: 3.219 kB / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.7229, allocations: 0 / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.7229, allocations: 4.281 kB / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7229, allocations: 10.03 kB / 0.8356 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.7236, allocations: 340.9 kB / 0.8359 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.7238, allocations: 119.3 kB / 0.836 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.7239, allocations: 6.062 kB / 0.836 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.724, allocations: 5.688 kB / 0.836 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.7241, allocations: 8.359 kB / 0.8361 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.7241, allocations: 5.688 kB / 0.8361 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003009/0.7244, allocations: 239.4 kB / 0.8363 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7244, allocations: 0 / 0.8363 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006053/0.725, allocations: 95.89 kB / 0.8364 GB, free: 12.05 MB / 0.6075 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.0007965/0.7259, allocations: 223.1 kB / 0.8366 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.7263, allocations: 150.4 kB / 0.8367 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7263, allocations: 0 / 0.8367 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.7265, allocations: 57.53 kB / 0.8368 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.7274, allocations: 145.2 kB / 0.8369 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.7286, allocations: 0.5305 MB / 0.8374 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.729, allocations: 0.7585 MB / 0.8382 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.7291, allocations: 25.25 kB / 0.8382 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.7291, allocations: 0 / 0.8382 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.009821/0.7389, allocations: 5.223 MB / 0.8433 GB, free: 7.91 MB / 0.6075 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)