Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.01012/0.01012, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.002173/0.002173, allocations: 195 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.398/2.398, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.449/1.449, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.89 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7084, allocations: 80.21 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3298/1.038, allocations: 169.4 MB / 0.8247 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.054, allocations: 7.132 MB / 0.8316 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/1.055, allocations: 15.88 kB / 0.8317 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/1.057, allocations: 170.8 kB / 0.8318 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/1.063, allocations: 1.26 MB / 0.833 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/1.066, allocations: 0.6316 MB / 0.8337 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001847/1.068, allocations: 0.7641 MB / 0.8344 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009736/1.069, allocations: 290.7 kB / 0.8347 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/1.072, allocations: 0.5798 MB / 0.8353 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/1.073, allocations: 406.6 kB / 0.8356 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/1.074, allocations: 28 kB / 0.8357 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/1.078, allocations: 1.247 MB / 0.8369 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/1.078, allocations: 131.6 kB / 0.837 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/1.079, allocations: 175.1 kB / 0.8372 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/1.082, allocations: 0.9077 MB / 0.8381 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.082, allocations: 0 / 0.8381 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.454e-06/1.082, allocations: 4 kB / 0.8381 GB, free: 14.4 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.629e-05/1.082, allocations: 0 / 0.8381 GB, free: 14.4 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002182/1.085, allocations: 0.6934 MB / 0.8387 GB, free: 13.65 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/1.085, allocations: 8.031 kB / 0.8388 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/1.085, allocations: 66.55 kB / 0.8388 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.086, allocations: 127.3 kB / 0.8389 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/1.087, allocations: 341.2 kB / 0.8393 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.087, allocations: 58.27 kB / 0.8393 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/1.088, allocations: 27.94 kB / 0.8393 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/1.089, allocations: 362.2 kB / 0.8397 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/1.089, allocations: 0 / 0.8397 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/1.089, allocations: 19.88 kB / 0.8397 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.089, allocations: 12 kB / 0.8397 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/1.09, allocations: 266 kB / 0.84 GB, free: 12.32 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/1.093, allocations: 1.488 MB / 0.8414 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/1.094, allocations: 194.6 kB / 0.8416 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/1.094, allocations: 116.7 kB / 0.8417 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.096, allocations: 0.5053 MB / 0.8422 GB, free: 9.789 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.096, allocations: 34.56 kB / 0.8422 GB, free: 9.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/1.096, allocations: 0 / 0.8422 GB, free: 9.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001551/1.097, allocations: 361 kB / 0.8426 GB, free: 9.387 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/1.097, allocations: 51.41 kB / 0.8426 GB, free: 9.324 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/1.098, allocations: 312.5 kB / 0.8429 GB, free: 9.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/1.098, allocations: 33.7 kB / 0.843 GB, free: 8.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/1.098, allocations: 188 kB / 0.8432 GB, free: 8.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/1.098, allocations: 51.25 kB / 0.8432 GB, free: 8.742 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/1.098, allocations: 45.66 kB / 0.8432 GB, free: 8.691 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002484/1.099, allocations: 346.7 kB / 0.8436 GB, free: 8.344 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.099, allocations: 91.88 kB / 0.8437 GB, free: 8.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/1.099, allocations: 141.9 kB / 0.8438 GB, free: 8.094 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/1.1, allocations: 237.8 kB / 0.844 GB, free: 7.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.1, allocations: 0 / 0.844 GB, free: 7.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009899/1.101, allocations: 293 kB / 0.8443 GB, free: 7.547 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.101, allocations: 4 kB / 0.8443 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.101, allocations: 7.984 kB / 0.8443 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.101, allocations: 0 / 0.8443 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/1.102, allocations: 35.98 kB / 0.8444 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/1.102, allocations: 7.938 kB / 0.8444 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/1.102, allocations: 35.8 kB / 0.8444 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/1.102, allocations: 19.94 kB / 0.8444 GB, free: 7.438 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0002605/1.102, allocations: 150.5 kB / 0.8446 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.103, allocations: 27.72 kB / 0.8446 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.104, allocations: 304.2 kB / 0.8449 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.104, allocations: 7.938 kB / 0.8449 GB, free: 6.941 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.104, allocations: 4 kB / 0.8449 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.104, allocations: 3.938 kB / 0.8449 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/1.106, allocations: 0.812 MB / 0.8457 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.106, allocations: 0 / 0.8457 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.106, allocations: 39.97 kB / 0.8457 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.106, allocations: 4 kB / 0.8457 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/1.106, allocations: 4 kB / 0.8457 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.106, allocations: 3.938 kB / 0.8457 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.106, allocations: 4 kB / 0.8457 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.107, allocations: 412 kB / 0.8461 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/1.108, allocations: 136.7 kB / 0.8463 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/1.108, allocations: 8 kB / 0.8463 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/1.108, allocations: 11.98 kB / 0.8463 GB, free: 5.379 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/1.108, allocations: 15.98 kB / 0.8463 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.108, allocations: 12 kB / 0.8463 GB, free: 5.352 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003905/1.109, allocations: 227 kB / 0.8465 GB, free: 5.133 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.7e-07/1.109, allocations: 0 / 0.8465 GB, free: 5.133 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009043/1.11, allocations: 135.7 kB / 0.8466 GB, free: 5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.002184/1.112, allocations: 1.048 MB / 0.8477 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007824/1.113, allocations: 219.7 kB / 0.8479 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.113, allocations: 0 / 0.8479 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/1.113, allocations: 115.8 kB / 0.848 GB, free: 3.582 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.114, allocations: 174.4 kB / 0.8482 GB, free: 3.418 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/1.121, allocations: 3.031 MB / 0.8511 GB, free: 232 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/1.122, allocations: 0.7873 MB / 0.8519 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005137/1.123, allocations: 85.5 kB / 0.852 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/1.123, allocations: 99.41 kB / 0.8521 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of SimCode: time 1.232e-06/1.123, allocations: 0 / 0.8521 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/1.175, allocations: 10.65 MB / 0.8625 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.44, allocations: 7.938 kB / 0.8625 GB, free: 4.805 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)