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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006855/0.006856, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001823/0.001823, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8966/0.8966, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 67.89 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3419, allocations: 81.02 MB / 0.6649 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1675/0.5095, allocations: 163.2 MB / 0.8243 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005211/0.5147, allocations: 4.587 MB / 0.8288 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.515, allocations: 11.94 kB / 0.8288 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.5154, allocations: 119 kB / 0.8289 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.5165, allocations: 0.5406 MB / 0.8294 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.518, allocations: 0.7741 MB / 0.8302 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.5186, allocations: 0.5807 MB / 0.8307 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.5189, allocations: 209.2 kB / 0.8309 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.5197, allocations: 462.2 kB / 0.8314 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.5202, allocations: 306.4 kB / 0.8317 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.5203, allocations: 16 kB / 0.8317 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5218, allocations: 0.9977 MB / 0.8327 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.5219, allocations: 87.78 kB / 0.8327 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.522, allocations: 123.3 kB / 0.8329 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009642/0.523, allocations: 0.7218 MB / 0.8336 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.523, allocations: 4 kB / 0.8336 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.523, allocations: 0 / 0.8336 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.523, allocations: 4 kB / 0.8336 GB, free: 3.555 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.000859/0.5239, allocations: 0.6066 MB / 0.8342 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5239, allocations: 8.031 kB / 0.8342 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.524, allocations: 58.48 kB / 0.8342 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.5246, allocations: 75.78 kB / 0.8343 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.525, allocations: 291.5 kB / 0.8346 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.525, allocations: 16 kB / 0.8346 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.525, allocations: 16 kB / 0.8346 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.5255, allocations: 299.3 kB / 0.8349 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5256, allocations: 4 kB / 0.8349 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.5256, allocations: 4 kB / 0.8349 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5256, allocations: 4 kB / 0.8349 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.526, allocations: 211.7 kB / 0.8351 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.5275, allocations: 1.238 MB / 0.8363 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.5278, allocations: 169 kB / 0.8365 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.528, allocations: 116.2 kB / 0.8366 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.5287, allocations: 339.2 kB / 0.8369 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5288, allocations: 38.69 kB / 0.8369 GB, free: 15.76 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.5288, allocations: 0 / 0.8369 GB, free: 15.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007349/0.5295, allocations: 277.6 kB / 0.8372 GB, free: 15.48 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.5296, allocations: 170.1 kB / 0.8374 GB, free: 15.28 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.5299, allocations: 283 kB / 0.8376 GB, free: 15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.5299, allocations: 29.7 kB / 0.8377 GB, free: 14.97 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5301, allocations: 147.9 kB / 0.8378 GB, free: 14.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.5301, allocations: 47.77 kB / 0.8379 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.5302, allocations: 41.7 kB / 0.8379 GB, free: 14.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5303, allocations: 338.8 kB / 0.8382 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.5305, allocations: 63.95 kB / 0.8383 GB, free: 14.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.5307, allocations: 140.5 kB / 0.8384 GB, free: 14.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.5311, allocations: 211.5 kB / 0.8386 GB, free: 13.92 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5311, allocations: 0 / 0.8386 GB, free: 13.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005121/0.5316, allocations: 257.3 kB / 0.8389 GB, free: 13.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5317, allocations: 4 kB / 0.8389 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5317, allocations: 8.312 kB / 0.8389 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5317, allocations: 4 kB / 0.8389 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.5319, allocations: 43.91 kB / 0.8389 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5319, allocations: 4 kB / 0.8389 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5321, allocations: 31.7 kB / 0.839 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.5321, allocations: 16 kB / 0.839 GB, free: 13.55 MB / 0.67 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.0001301/0.5323, allocations: 145.9 kB / 0.8391 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5324, allocations: 31.84 kB / 0.8391 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.5329, allocations: 181.9 kB / 0.8393 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5329, allocations: 7.938 kB / 0.8393 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5329, allocations: 0 / 0.8393 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5329, allocations: 0 / 0.8393 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.5339, allocations: 0.8588 MB / 0.8402 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5339, allocations: 0 / 0.8402 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.534, allocations: 27.92 kB / 0.8402 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.534, allocations: 3.984 kB / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.534, allocations: 8 kB / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.534, allocations: 0 / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.534, allocations: 4 kB / 0.8402 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.5346, allocations: 347.5 kB / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.5347, allocations: 112.9 kB / 0.8406 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.5348, allocations: 8 kB / 0.8406 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5349, allocations: 7.984 kB / 0.8407 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.535, allocations: 8 kB / 0.8407 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.535, allocations: 7.984 kB / 0.8407 GB, free: 11.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000232/0.5352, allocations: 233.9 kB / 0.8409 GB, free: 11.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5352, allocations: 0 / 0.8409 GB, free: 11.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004133/0.5356, allocations: 103.8 kB / 0.841 GB, free: 11.33 MB / 0.67 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.001209/0.5369, allocations: 0.9904 MB / 0.842 GB, free: 10.31 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.5372, allocations: 147.8 kB / 0.8421 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5373, allocations: 0 / 0.8421 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.5374, allocations: 59.89 kB / 0.8422 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.5381, allocations: 135.2 kB / 0.8423 GB, free: 9.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.5414, allocations: 2.778 MB / 0.845 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5418, allocations: 0.7597 MB / 0.8457 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.542, allocations: 58.89 kB / 0.8458 GB, free: 6.199 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.5421, allocations: 75.41 kB / 0.8459 GB, free: 6.125 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5421, allocations: 0 / 0.8459 GB, free: 6.125 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/2.129, allocations: 8.613 MB / 0.8543 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.418/11.55, allocations: 22.08 kB / 0.8543 GB, free: 13.65 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)