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.00571/0.00571, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.001212/0.001212, allocations: 191.5 kB / 16.68 MB, free: 5.523 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7796/0.7796, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.94 kB / 0.5851 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.93 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5848/0.7448, allocations: 163.2 MB / 0.8236 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005713/0.7506, allocations: 4.573 MB / 0.828 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.7511, allocations: 9 kB / 0.828 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.7516, allocations: 129.5 kB / 0.8282 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.7532, allocations: 0.5522 MB / 0.8287 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.755, allocations: 0.7922 MB / 0.8295 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.7558, allocations: 0.5853 MB / 0.8301 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.7561, allocations: 214.2 kB / 0.8303 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.7572, allocations: 474 kB / 0.8307 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.7577, allocations: 295.4 kB / 0.831 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.7578, allocations: 17.94 kB / 0.831 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.7594, allocations: 1.002 MB / 0.832 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.7595, allocations: 86.19 kB / 0.8321 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.7596, allocations: 128.4 kB / 0.8322 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009202/0.7605, allocations: 0.7253 MB / 0.8329 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7606, allocations: 3.984 kB / 0.8329 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7606, allocations: 2.875 kB / 0.8329 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.7606, allocations: 0 / 0.8329 GB, free: 12.79 MB / 0.6075 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.0008895/0.7615, allocations: 0.5829 MB / 0.8335 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7615, allocations: 11.05 kB / 0.8335 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.7616, allocations: 60.25 kB / 0.8335 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.7622, allocations: 75.61 kB / 0.8336 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.7626, allocations: 301.4 kB / 0.8339 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7626, allocations: 11.97 kB / 0.8339 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.7627, allocations: 23.81 kB / 0.8339 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.7632, allocations: 290.2 kB / 0.8342 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.7632, allocations: 3.938 kB / 0.8342 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7632, allocations: 6.344 kB / 0.8342 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7632, allocations: 6.5 kB / 0.8342 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.7636, allocations: 209.1 kB / 0.8344 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.7652, allocations: 1.24 MB / 0.8356 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.7654, allocations: 175.4 kB / 0.8358 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.7656, allocations: 113.2 kB / 0.8359 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.7663, allocations: 328.9 kB / 0.8362 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.7664, allocations: 41.25 kB / 0.8363 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.7664, allocations: 7.938 kB / 0.8363 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007055/0.7671, allocations: 274.6 kB / 0.8365 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.7672, allocations: 164.7 kB / 0.8367 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.7674, allocations: 288.1 kB / 0.837 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.7675, allocations: 33.7 kB / 0.837 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.7676, allocations: 144.4 kB / 0.8371 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.7676, allocations: 50.73 kB / 0.8372 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.7677, allocations: 40.95 kB / 0.8372 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7678, allocations: 334.2 kB / 0.8375 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.768, allocations: 71.12 kB / 0.8376 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.7682, allocations: 144.6 kB / 0.8378 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.7686, allocations: 214.5 kB / 0.838 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7686, allocations: 0 / 0.838 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004912/0.7691, allocations: 240.4 kB / 0.8382 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7691, allocations: 5.312 kB / 0.8382 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7691, allocations: 6.391 kB / 0.8382 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.7691, allocations: 5.25 kB / 0.8382 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7693, allocations: 39.33 kB / 0.8382 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7694, allocations: 6.406 kB / 0.8382 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.7695, allocations: 26.45 kB / 0.8383 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.7696, allocations: 14.06 kB / 0.8383 GB, free: 8.199 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.0001408/0.7697, allocations: 151.2 kB / 0.8384 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.7699, allocations: 28.19 kB / 0.8385 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.7703, allocations: 183.4 kB / 0.8386 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7703, allocations: 6.109 kB / 0.8386 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7703, allocations: 7.625 kB / 0.8386 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7703, allocations: 3.938 kB / 0.8386 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.7713, allocations: 0.8526 MB / 0.8395 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7713, allocations: 3.469 kB / 0.8395 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7714, allocations: 25.27 kB / 0.8395 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7714, allocations: 2.781 kB / 0.8395 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7714, allocations: 10.25 kB / 0.8395 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.7714, allocations: 2.5 kB / 0.8395 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7714, allocations: 0 / 0.8395 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.772, allocations: 349.2 kB / 0.8399 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.7721, allocations: 114.7 kB / 0.84 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.7721, allocations: 6.656 kB / 0.84 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7723, allocations: 9.016 kB / 0.84 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.7723, allocations: 17.11 kB / 0.84 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.7723, allocations: 8.906 kB / 0.84 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000201/0.7725, allocations: 235.8 kB / 0.8402 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7725, allocations: 0 / 0.8402 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004624/0.773, allocations: 93.44 kB / 0.8403 GB, free: 6.488 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.001174/0.7742, allocations: 0.9828 MB / 0.8413 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.7746, allocations: 146.7 kB / 0.8414 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7746, allocations: 0 / 0.8414 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.7747, allocations: 61.19 kB / 0.8415 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.7754, allocations: 135.8 kB / 0.8416 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.7785, allocations: 2.763 MB / 0.8443 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.7788, allocations: 0.7587 MB / 0.845 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.779, allocations: 54.34 kB / 0.8451 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7791, allocations: 90.12 kB / 0.8452 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.7791, allocations: 0 / 0.8452 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.807, allocations: 8.616 MB / 0.8536 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.671, allocations: 0 / 0.8536 GB, free: 12.88 MB / 0.6231 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)