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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8436/0.8436, allocations: 134 MB / 436.6 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.89 kB / 0.6051 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4343, allocations: 84.67 MB / 0.6878 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1993/0.6336, allocations: 163.8 MB / 0.8477 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006026/0.6396, allocations: 4.595 MB / 0.8522 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.64, allocations: 11.94 kB / 0.8522 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.6405, allocations: 123.1 kB / 0.8523 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.642, allocations: 0.5679 MB / 0.8529 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.644, allocations: 0.7772 MB / 0.8537 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007666/0.6448, allocations: 0.5729 MB / 0.8542 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.6451, allocations: 177.2 kB / 0.8544 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.6462, allocations: 494.1 kB / 0.8549 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.6468, allocations: 298.9 kB / 0.8551 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.6469, allocations: 20 kB / 0.8552 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.6487, allocations: 1.064 MB / 0.8562 GB, free: 9.555 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.6489, allocations: 95.7 kB / 0.8563 GB, free: 9.461 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.649, allocations: 123.4 kB / 0.8564 GB, free: 9.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.6504, allocations: 0.7359 MB / 0.8571 GB, free: 8.605 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6504, allocations: 4 kB / 0.8571 GB, free: 8.602 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6504, allocations: 0 / 0.8571 GB, free: 8.602 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.6504, allocations: 0 / 0.8571 GB, free: 8.602 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001076/0.6515, allocations: 0.6039 MB / 0.8577 GB, free: 7.949 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6515, allocations: 8.031 kB / 0.8577 GB, free: 7.941 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.6516, allocations: 58.53 kB / 0.8578 GB, free: 7.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.6522, allocations: 75.75 kB / 0.8579 GB, free: 7.801 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.6527, allocations: 300.2 kB / 0.8581 GB, free: 7.469 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.6528, allocations: 12 kB / 0.8582 GB, free: 7.457 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.6528, allocations: 24 kB / 0.8582 GB, free: 7.434 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.6534, allocations: 292.4 kB / 0.8585 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6534, allocations: 0 / 0.8585 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.6534, allocations: 4 kB / 0.8585 GB, free: 7.117 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.6534, allocations: 11.98 kB / 0.8585 GB, free: 7.105 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.6539, allocations: 207.5 kB / 0.8587 GB, free: 6.902 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.6557, allocations: 1.25 MB / 0.8599 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.656, allocations: 173 kB / 0.8601 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.6563, allocations: 108.2 kB / 0.8602 GB, free: 5.238 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/0.6571, allocations: 331.2 kB / 0.8605 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.6571, allocations: 38.69 kB / 0.8605 GB, free: 4.812 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.6571, allocations: 0 / 0.8605 GB, free: 4.812 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007656/0.6579, allocations: 277.3 kB / 0.8608 GB, free: 4.535 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.658, allocations: 166.1 kB / 0.8609 GB, free: 4.336 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.6583, allocations: 287 kB / 0.8612 GB, free: 4.047 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.6583, allocations: 26.2 kB / 0.8612 GB, free: 4.016 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6584, allocations: 155.9 kB / 0.8614 GB, free: 3.859 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.6585, allocations: 47.62 kB / 0.8614 GB, free: 3.812 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.6586, allocations: 41.7 kB / 0.8615 GB, free: 3.766 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6587, allocations: 338.8 kB / 0.8618 GB, free: 3.426 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6589, allocations: 67.94 kB / 0.8619 GB, free: 3.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6591, allocations: 140.5 kB / 0.862 GB, free: 3.191 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.6595, allocations: 211.5 kB / 0.8622 GB, free: 2.957 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6595, allocations: 0 / 0.8622 GB, free: 2.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005045/0.66, allocations: 249.2 kB / 0.8624 GB, free: 2.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.66, allocations: 7.984 kB / 0.8624 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.66, allocations: 4 kB / 0.8624 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.66, allocations: 3.938 kB / 0.8624 GB, free: 2.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.6602, allocations: 39.92 kB / 0.8625 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6602, allocations: 0 / 0.8625 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.6604, allocations: 35.77 kB / 0.8625 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.6604, allocations: 12.22 kB / 0.8625 GB, free: 2.605 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.0001704/0.6606, allocations: 157.7 kB / 0.8627 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.6608, allocations: 23.86 kB / 0.8627 GB, free: 2.418 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.6612, allocations: 190.1 kB / 0.8629 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6612, allocations: 11.92 kB / 0.8629 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6613, allocations: 0 / 0.8629 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6613, allocations: 0 / 0.8629 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.6623, allocations: 0.8628 MB / 0.8637 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6623, allocations: 0 / 0.8637 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6624, allocations: 23.98 kB / 0.8638 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6624, allocations: 0 / 0.8638 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6625, allocations: 4 kB / 0.8638 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6625, allocations: 160 / 0.8638 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6625, allocations: 8 kB / 0.8638 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.663, allocations: 343.4 kB / 0.8641 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.6631, allocations: 112.9 kB / 0.8642 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.6632, allocations: 8 kB / 0.8642 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6633, allocations: 7.984 kB / 0.8642 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.6634, allocations: 7.984 kB / 0.8642 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.6634, allocations: 4 kB / 0.8642 GB, free: 0.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002531/0.6636, allocations: 238.1 kB / 0.8645 GB, free: 488 kB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6636, allocations: 7.938 kB / 0.8645 GB, free: 480 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004746/0.6641, allocations: 103.7 kB / 0.8646 GB, free: 376 kB / 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.3238/0.9879, allocations: 0.9836 MB / 0.8655 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.9884, allocations: 142.1 kB / 0.8657 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9884, allocations: 3.969 kB / 0.8657 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.9886, allocations: 60.94 kB / 0.8657 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.9894, allocations: 135.1 kB / 0.8658 GB, free: 173.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.9926, allocations: 2.766 MB / 0.8686 GB, free: 171.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.9928, allocations: 0.7558 MB / 0.8693 GB, free: 171.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.993, allocations: 68.12 kB / 0.8694 GB, free: 171.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.9931, allocations: 73.59 kB / 0.8694 GB, free: 171.1 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.9931, allocations: 0 / 0.8694 GB, free: 171.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/1.028, allocations: 8.662 MB / 0.8779 GB, free: 168.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/9.194, allocations: 17 kB / 0.8779 GB, free: 168 MB / 0.67 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.522669434081763] Failed to read output from testmodel.py, exit status != 0: 9.265740112867206 9.282558092 8.629023209 Calling exit ...