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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001616/0.001616, allocations: 193.4 kB / 16.14 MB, free: 6.703 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8476/0.8476, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 65.42 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1228, allocations: 80.93 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3466/0.4694, allocations: 161 MB / 0.741 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004867/0.4743, allocations: 4.628 MB / 0.7455 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.4746, allocations: 9.156 kB / 0.7455 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.4751, allocations: 98.36 kB / 0.7456 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.4763, allocations: 0.5045 MB / 0.7461 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4778, allocations: 0.7206 MB / 0.7468 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008269/0.4787, allocations: 0.8089 MB / 0.7476 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.479, allocations: 176.6 kB / 0.7478 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.4799, allocations: 428.3 kB / 0.7482 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.4805, allocations: 297.7 kB / 0.7485 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.4806, allocations: 9.438 kB / 0.7485 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.4822, allocations: 1.162 MB / 0.7496 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.4823, allocations: 86.09 kB / 0.7497 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.4825, allocations: 117.4 kB / 0.7498 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4836, allocations: 0.7717 MB / 0.7506 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4836, allocations: 0 / 0.7506 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4836, allocations: 0 / 0.7506 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4836, allocations: 0 / 0.7506 GB, free: 1.832 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.0008504/0.4845, allocations: 0.5927 MB / 0.7511 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4845, allocations: 10.22 kB / 0.7512 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.4846, allocations: 59.86 kB / 0.7512 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.4852, allocations: 78.94 kB / 0.7513 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.4856, allocations: 281.6 kB / 0.7516 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4856, allocations: 18.72 kB / 0.7516 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.4856, allocations: 20.89 kB / 0.7516 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.4861, allocations: 287.2 kB / 0.7519 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4861, allocations: 0 / 0.7519 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.4862, allocations: 18.41 kB / 0.7519 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4862, allocations: 5.094 kB / 0.7519 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.4866, allocations: 204.5 kB / 0.7521 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.4881, allocations: 1.245 MB / 0.7533 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.4884, allocations: 170.5 kB / 0.7535 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.4885, allocations: 115.3 kB / 0.7536 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/0.4893, allocations: 332.6 kB / 0.7539 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4893, allocations: 37.14 kB / 0.7539 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.4893, allocations: 0 / 0.7539 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007188/0.49, allocations: 284.1 kB / 0.7542 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.4901, allocations: 158.2 kB / 0.7543 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4904, allocations: 290.9 kB / 0.7546 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4904, allocations: 29.8 kB / 0.7547 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.4905, allocations: 159.7 kB / 0.7548 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.4905, allocations: 43.3 kB / 0.7548 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.4906, allocations: 37.72 kB / 0.7549 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.4907, allocations: 338.8 kB / 0.7552 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4909, allocations: 67.94 kB / 0.7553 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.4911, allocations: 144.5 kB / 0.7554 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.4914, allocations: 217.5 kB / 0.7556 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4915, allocations: 4 kB / 0.7556 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004952/0.492, allocations: 241.1 kB / 0.7558 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.492, allocations: 10.59 kB / 0.7559 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.492, allocations: 4 kB / 0.7559 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.492, allocations: 4 kB / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4922, allocations: 39.91 kB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4922, allocations: 4 kB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4924, allocations: 39.7 kB / 0.7559 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.4925, allocations: 8 kB / 0.756 GB, free: 12.66 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.0001321/0.4926, allocations: 149.8 kB / 0.7561 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4927, allocations: 31.7 kB / 0.7561 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.4932, allocations: 193.5 kB / 0.7563 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4932, allocations: 0 / 0.7563 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4932, allocations: 7.938 kB / 0.7563 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4932, allocations: 3.938 kB / 0.7563 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.4941, allocations: 0.8511 MB / 0.7572 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4941, allocations: 3.938 kB / 0.7572 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4942, allocations: 23.92 kB / 0.7572 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4942, allocations: 4 kB / 0.7572 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4943, allocations: 3.984 kB / 0.7572 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4943, allocations: 4 kB / 0.7572 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4943, allocations: 0 / 0.7572 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.4948, allocations: 339.5 kB / 0.7575 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.4949, allocations: 120.8 kB / 0.7576 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.4949, allocations: 0 / 0.7576 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4951, allocations: 15.98 kB / 0.7576 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.4952, allocations: 11.92 kB / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4952, allocations: 4 kB / 0.7577 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000217/0.4954, allocations: 237.9 kB / 0.7579 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4954, allocations: 0 / 0.7579 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004216/0.4958, allocations: 95.91 kB / 0.758 GB, free: 10.44 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.001092/0.4969, allocations: 0.984 MB / 0.7589 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.4973, allocations: 143.8 kB / 0.7591 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4973, allocations: 4 kB / 0.7591 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4974, allocations: 59.89 kB / 0.7591 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.4982, allocations: 138.5 kB / 0.7593 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.5013, allocations: 2.814 MB / 0.762 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.5016, allocations: 0.7599 MB / 0.7628 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.5018, allocations: 66.47 kB / 0.7628 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5019, allocations: 79.41 kB / 0.7629 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5019, allocations: 4 kB / 0.7629 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4069/0.9088, allocations: 8.188 MB / 0.7709 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.909, allocations: 238.5 kB / 0.7711 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.739, allocations: 7.938 kB / 0.7711 GB, free: 12.96 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)