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.005383/0.005388, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001253/0.001253, allocations: 194.8 kB / 16.67 MB, free: 5.91 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9306/0.9306, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4391, allocations: 80.9 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1883/0.6275, allocations: 163.2 MB / 0.8236 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.6338, allocations: 4.581 MB / 0.828 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.6342, allocations: 15.94 kB / 0.8281 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.6348, allocations: 115.1 kB / 0.8282 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.6368, allocations: 0.5445 MB / 0.8287 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.6394, allocations: 0.7629 MB / 0.8294 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.6404, allocations: 0.5807 MB / 0.83 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.6409, allocations: 217.2 kB / 0.8302 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.6421, allocations: 458.2 kB / 0.8307 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.6428, allocations: 306.8 kB / 0.8309 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.6429, allocations: 20 kB / 0.831 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.645, allocations: 1.002 MB / 0.8319 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.6451, allocations: 83.78 kB / 0.832 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.6453, allocations: 131.3 kB / 0.8322 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.6471, allocations: 0.7169 MB / 0.8329 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6471, allocations: 3.938 kB / 0.8329 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6471, allocations: 0 / 0.8329 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.6471, allocations: 0 / 0.8329 GB, free: 4.176 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.001143/0.6483, allocations: 0.5958 MB / 0.8334 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6483, allocations: 12.03 kB / 0.8334 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.6484, allocations: 50.55 kB / 0.8335 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.6491, allocations: 71.66 kB / 0.8336 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.6497, allocations: 307.3 kB / 0.8339 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6497, allocations: 12 kB / 0.8339 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.6497, allocations: 20 kB / 0.8339 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.6503, allocations: 287.3 kB / 0.8342 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6503, allocations: 4 kB / 0.8342 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.6503, allocations: 8 kB / 0.8342 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6504, allocations: 4 kB / 0.8342 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.6508, allocations: 203.7 kB / 0.8344 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.6525, allocations: 1.234 MB / 0.8356 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.6528, allocations: 177 kB / 0.8357 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.653, allocations: 116.2 kB / 0.8359 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.6537, allocations: 331.2 kB / 0.8362 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6538, allocations: 46.67 kB / 0.8362 GB, free: 408 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.6538, allocations: 0 / 0.8362 GB, free: 408 kB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007778/0.6545, allocations: 285.5 kB / 0.8365 GB, free: 116 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.6546, allocations: 158.2 kB / 0.8366 GB, free: 15.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.6549, allocations: 283 kB / 0.8369 GB, free: 15.64 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.655, allocations: 33.7 kB / 0.8369 GB, free: 15.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.6551, allocations: 143.9 kB / 0.8371 GB, free: 15.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.6551, allocations: 47.3 kB / 0.8371 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.6552, allocations: 37.7 kB / 0.8372 GB, free: 15.37 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6553, allocations: 338.8 kB / 0.8375 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.6555, allocations: 67.94 kB / 0.8375 GB, free: 14.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.6557, allocations: 152.7 kB / 0.8377 GB, free: 14.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.6561, allocations: 215.5 kB / 0.8379 GB, free: 14.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6561, allocations: 4 kB / 0.8379 GB, free: 14.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005199/0.6567, allocations: 249 kB / 0.8381 GB, free: 14.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6567, allocations: 8 kB / 0.8381 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6567, allocations: 4.25 kB / 0.8382 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6567, allocations: 4 kB / 0.8382 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.6569, allocations: 43.91 kB / 0.8382 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6569, allocations: 7.938 kB / 0.8382 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.6571, allocations: 23.83 kB / 0.8382 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6572, allocations: 12 kB / 0.8382 GB, free: 14.19 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.0001482/0.6573, allocations: 143.3 kB / 0.8384 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6575, allocations: 39.61 kB / 0.8384 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.658, allocations: 177.9 kB / 0.8386 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.658, allocations: 7.938 kB / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.658, allocations: 4 kB / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.658, allocations: 0 / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6591, allocations: 0.8471 MB / 0.8394 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6591, allocations: 4 kB / 0.8394 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.6592, allocations: 19.98 kB / 0.8394 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6592, allocations: 7.938 kB / 0.8395 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.6592, allocations: 11.92 kB / 0.8395 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6592, allocations: 4 kB / 0.8395 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6593, allocations: 3.938 kB / 0.8395 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.6598, allocations: 343.5 kB / 0.8398 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6599, allocations: 112.8 kB / 0.8399 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.66, allocations: 12.06 kB / 0.8399 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6601, allocations: 7.984 kB / 0.8399 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.6602, allocations: 12 kB / 0.8399 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.6602, allocations: 4 kB / 0.8399 GB, free: 12.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002212/0.6604, allocations: 229.9 kB / 0.8402 GB, free: 12.08 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6604, allocations: 0 / 0.8402 GB, free: 12.08 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004852/0.6609, allocations: 103.9 kB / 0.8403 GB, free: 11.98 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.001318/0.6623, allocations: 0.9843 MB / 0.8412 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.6627, allocations: 155.9 kB / 0.8414 GB, free: 10.81 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6627, allocations: 0 / 0.8414 GB, free: 10.81 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.6629, allocations: 59.89 kB / 0.8414 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.6637, allocations: 141.6 kB / 0.8416 GB, free: 10.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.6672, allocations: 2.763 MB / 0.8443 GB, free: 7.695 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6675, allocations: 0.7519 MB / 0.845 GB, free: 6.918 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000218/0.6677, allocations: 70.88 kB / 0.8451 GB, free: 6.848 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6679, allocations: 79.41 kB / 0.8451 GB, free: 6.77 MB / 0.67 GB Notification: Performance of SimCode: time 3.9e-07/0.6679, allocations: 0 / 0.8451 GB, free: 6.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.6968, allocations: 8.71 MB / 0.8536 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.747, allocations: 4.062 kB / 0.8536 GB, free: 14.21 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)