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.001104/0.001104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9234/0.9234, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 65.45 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1278, allocations: 80.91 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3543/0.4821, allocations: 163.2 MB / 0.7439 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.4875, allocations: 4.571 MB / 0.7483 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.4878, allocations: 10.31 kB / 0.7483 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.4883, allocations: 124.5 kB / 0.7485 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.4895, allocations: 0.5363 MB / 0.749 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.4911, allocations: 0.7715 MB / 0.7497 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.4917, allocations: 0.5758 MB / 0.7503 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.492, allocations: 218.9 kB / 0.7505 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008344/0.4929, allocations: 465.9 kB / 0.7509 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.4934, allocations: 284.8 kB / 0.7512 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.4934, allocations: 18.16 kB / 0.7512 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.4949, allocations: 0.9987 MB / 0.7522 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.495, allocations: 88.5 kB / 0.7523 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.4951, allocations: 130.7 kB / 0.7524 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.4961, allocations: 0.7184 MB / 0.7531 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4961, allocations: 0 / 0.7531 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4961, allocations: 3.938 kB / 0.7531 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4961, allocations: 0 / 0.7531 GB, free: 15.66 MB / 0.5762 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.0008286/0.4969, allocations: 0.589 MB / 0.7537 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.497, allocations: 10.06 kB / 0.7537 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.497, allocations: 55.73 kB / 0.7538 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.4977, allocations: 75.38 kB / 0.7538 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.498, allocations: 292 kB / 0.7541 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4981, allocations: 16.41 kB / 0.7541 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.4981, allocations: 20.28 kB / 0.7542 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.4987, allocations: 282.9 kB / 0.7544 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4987, allocations: 0 / 0.7544 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.4987, allocations: 11.41 kB / 0.7544 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4987, allocations: 4.406 kB / 0.7544 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.4992, allocations: 207.9 kB / 0.7546 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.5007, allocations: 1.25 MB / 0.7559 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.501, allocations: 173 kB / 0.756 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.5012, allocations: 116.4 kB / 0.7561 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.502, allocations: 331.2 kB / 0.7564 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.502, allocations: 38.56 kB / 0.7565 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.502, allocations: 0 / 0.7565 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007683/0.5028, allocations: 277.1 kB / 0.7567 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.5029, allocations: 162.2 kB / 0.7569 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.5032, allocations: 287.4 kB / 0.7572 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5032, allocations: 33.7 kB / 0.7572 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5033, allocations: 151.8 kB / 0.7574 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.5034, allocations: 47.3 kB / 0.7574 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.5034, allocations: 41.7 kB / 0.7574 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5035, allocations: 335.2 kB / 0.7578 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.5037, allocations: 67.94 kB / 0.7578 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.504, allocations: 147.3 kB / 0.758 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.5043, allocations: 215.4 kB / 0.7582 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5043, allocations: 0 / 0.7582 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005009/0.5048, allocations: 245.1 kB / 0.7584 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5049, allocations: 4 kB / 0.7584 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5049, allocations: 4 kB / 0.7584 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5049, allocations: 4 kB / 0.7584 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5051, allocations: 39.92 kB / 0.7585 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5051, allocations: 7.984 kB / 0.7585 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5053, allocations: 27.94 kB / 0.7585 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.5053, allocations: 19.98 kB / 0.7585 GB, free: 10.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.5055, allocations: 151 kB / 0.7586 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.5056, allocations: 23.72 kB / 0.7587 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.5061, allocations: 185.8 kB / 0.7588 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5061, allocations: 4 kB / 0.7589 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5061, allocations: 1.938 kB / 0.7589 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5061, allocations: 7.938 kB / 0.7589 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.5071, allocations: 0.8472 MB / 0.7597 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5071, allocations: 7.875 kB / 0.7597 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5072, allocations: 27.92 kB / 0.7597 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5073, allocations: 4.156 kB / 0.7597 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5073, allocations: 8 kB / 0.7597 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5073, allocations: 0.7031 kB / 0.7597 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5073, allocations: 4 kB / 0.7597 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.5078, allocations: 331.4 kB / 0.7601 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.5079, allocations: 120.7 kB / 0.7602 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.508, allocations: 9.109 kB / 0.7602 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5081, allocations: 4 kB / 0.7602 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.5082, allocations: 19.98 kB / 0.7602 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.5082, allocations: 4 kB / 0.7602 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002201/0.5084, allocations: 233.9 kB / 0.7604 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5084, allocations: 0 / 0.7604 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004374/0.5089, allocations: 95.98 kB / 0.7605 GB, free: 8.012 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 (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.001171/0.5101, allocations: 0.9878 MB / 0.7615 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.5105, allocations: 162.9 kB / 0.7616 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5105, allocations: 0.5 kB / 0.7616 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.5107, allocations: 59.91 kB / 0.7617 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.5114, allocations: 136.7 kB / 0.7618 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.5147, allocations: 2.769 MB / 0.7645 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.515, allocations: 0.7597 MB / 0.7653 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.5152, allocations: 64.45 kB / 0.7653 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5153, allocations: 75.41 kB / 0.7654 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5153, allocations: 0 / 0.7654 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05299/0.5683, allocations: 8.528 MB / 0.7737 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.161/9.73, allocations: 14.34 kB / 0.7737 GB, free: 10.45 MB / 0.5919 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)