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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_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.0008826/0.0008826, allocations: 92.39 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.001062/0.001062, 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.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8.219 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4288, allocations: 81.58 MB / 0.5832 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1769/0.6058, allocations: 148.2 MB / 0.7279 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005066/0.6109, allocations: 4.252 MB / 0.7321 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.6112, allocations: 7.938 kB / 0.7321 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.6116, allocations: 87.36 kB / 0.7322 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.6126, allocations: 382.1 kB / 0.7325 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.614, allocations: 0.5322 MB / 0.733 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.6148, allocations: 0.6819 MB / 0.7337 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.6151, allocations: 161.2 kB / 0.7339 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.616, allocations: 382.4 kB / 0.7342 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.6165, allocations: 271 kB / 0.7345 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.6166, allocations: 12 kB / 0.7345 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.6176, allocations: 0.5145 MB / 0.735 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.6178, allocations: 79.77 kB / 0.7351 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.6179, allocations: 69.58 kB / 0.7351 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.6184, allocations: 403.1 kB / 0.7355 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6184, allocations: 4 kB / 0.7355 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6184, allocations: 0 / 0.7355 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6185, allocations: 4 kB / 0.7355 GB, free: 4.086 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.0008822/0.6194, allocations: 0.5611 MB / 0.7361 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6194, allocations: 12.03 kB / 0.7361 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.6195, allocations: 50.55 kB / 0.7361 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/0.6201, allocations: 79.55 kB / 0.7362 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.6205, allocations: 280.1 kB / 0.7365 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6205, allocations: 16 kB / 0.7365 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.6206, allocations: 24 kB / 0.7365 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.6211, allocations: 283.4 kB / 0.7368 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6211, allocations: 4 kB / 0.7368 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.6211, allocations: 4 kB / 0.7368 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.6211, allocations: 7.984 kB / 0.7368 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.6215, allocations: 215.7 kB / 0.737 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.623, allocations: 1.249 MB / 0.7382 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.6233, allocations: 184.9 kB / 0.7384 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6235, allocations: 120.2 kB / 0.7385 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.6242, allocations: 343.2 kB / 0.7389 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.6243, allocations: 42.69 kB / 0.7389 GB, free: 324 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6243, allocations: 0 / 0.7389 GB, free: 324 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007413/0.625, allocations: 293.6 kB / 0.7392 GB, free: 24 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6251, allocations: 162.1 kB / 0.7393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.6254, allocations: 279 kB / 0.7396 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.6254, allocations: 29.7 kB / 0.7396 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6256, allocations: 147.8 kB / 0.7398 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.6256, allocations: 51.34 kB / 0.7398 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.6256, allocations: 0 / 0.7398 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6257, allocations: 342.8 kB / 0.7401 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.6259, allocations: 71.94 kB / 0.7402 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.6261, allocations: 152.4 kB / 0.7404 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.6263, allocations: 87.95 kB / 0.7404 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6263, allocations: 0 / 0.7404 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004916/0.6268, allocations: 265.2 kB / 0.7407 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6269, allocations: 8 kB / 0.7407 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6269, allocations: 0 / 0.7407 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6269, allocations: 4.375 kB / 0.7407 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6271, allocations: 39.92 kB / 0.7407 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.6271, allocations: 4 kB / 0.7407 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.6273, allocations: 43.73 kB / 0.7408 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.6273, allocations: 11.98 kB / 0.7408 GB, free: 14.26 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.0001527/0.6275, allocations: 151.3 kB / 0.7409 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.6276, allocations: 27.67 kB / 0.741 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.6281, allocations: 193.9 kB / 0.7412 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6281, allocations: 4 kB / 0.7412 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6282, allocations: 4 kB / 0.7412 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6282, allocations: 4 kB / 0.7412 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6292, allocations: 0.8665 MB / 0.742 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6292, allocations: 0 / 0.742 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.6293, allocations: 31.92 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6293, allocations: 0 / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6294, allocations: 4 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6294, allocations: 4 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6294, allocations: 160 / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.63, allocations: 363.3 kB / 0.7424 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.6301, allocations: 120.8 kB / 0.7425 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.6301, allocations: 4 kB / 0.7425 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.6303, allocations: 16.05 kB / 0.7425 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.6304, allocations: 15.92 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6304, allocations: 4 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002441/0.6306, allocations: 229.9 kB / 0.7428 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6306, allocations: 4 kB / 0.7428 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004859/0.6311, allocations: 91.95 kB / 0.7429 GB, free: 12 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.001184/0.6323, allocations: 0.9835 MB / 0.7438 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.6327, allocations: 163.8 kB / 0.744 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.6327, allocations: 4 kB / 0.744 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.6329, allocations: 68.66 kB / 0.744 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.6336, allocations: 124.4 kB / 0.7442 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.6361, allocations: 1.583 MB / 0.7457 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6365, allocations: 0.7638 MB / 0.7465 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.6367, allocations: 63.05 kB / 0.7465 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6369, allocations: 71.42 kB / 0.7466 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6369, allocations: 0 / 0.7466 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.6568, allocations: 7.901 MB / 0.7543 GB, free: 372 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.657, allocations: 224.3 kB / 0.7545 GB, free: 112 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.572, allocations: 0 / 0.7545 GB, free: 112 kB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: