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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007872/0.0007872, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9052/0.9052, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7737/0.7737, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 70.11 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5471, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1428/0.6899, allocations: 143.9 MB / 0.9584 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003975/0.6939, allocations: 4.224 MB / 0.9625 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.6941, allocations: 11.88 kB / 0.9625 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.6944, allocations: 131 kB / 0.9626 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00087/0.6953, allocations: 0.564 MB / 0.9632 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6963, allocations: 0.8169 MB / 0.964 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.6968, allocations: 0.5846 MB / 0.9645 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.697, allocations: 167.8 kB / 0.9647 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.6979, allocations: 0.6733 MB / 0.9654 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.6983, allocations: 298.8 kB / 0.9656 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.6983, allocations: 20 kB / 0.9657 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.6991, allocations: 0.8532 MB / 0.9665 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.6994, allocations: 91.7 kB / 0.9666 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.6995, allocations: 107.5 kB / 0.9667 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.7001, allocations: 0.6853 MB / 0.9674 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7001, allocations: 3.938 kB / 0.9674 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7001, allocations: 0 / 0.9674 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7001, allocations: 0 / 0.9674 GB, free: 12.05 MB / 0.7448 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.0006658/0.7008, allocations: 0.5411 MB / 0.9679 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7008, allocations: 12.03 kB / 0.9679 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.7009, allocations: 50.55 kB / 0.9679 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.7012, allocations: 75.69 kB / 0.968 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.7015, allocations: 237.6 kB / 0.9682 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.7015, allocations: 20 kB / 0.9683 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.7016, allocations: 16 kB / 0.9683 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.7019, allocations: 283.5 kB / 0.9685 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7019, allocations: 4 kB / 0.9686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.7019, allocations: 7.938 kB / 0.9686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.7019, allocations: 4 kB / 0.9686 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.7022, allocations: 207.7 kB / 0.9688 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.7031, allocations: 1.163 MB / 0.9699 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.7033, allocations: 169 kB / 0.9701 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.7034, allocations: 104.2 kB / 0.9702 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.7037, allocations: 107.9 kB / 0.9703 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.7037, allocations: 54.62 kB / 0.9703 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.7037, allocations: 0 / 0.9703 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004895/0.7042, allocations: 273.3 kB / 0.9706 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.7043, allocations: 166.2 kB / 0.9707 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.7045, allocations: 292.1 kB / 0.971 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7045, allocations: 33.7 kB / 0.971 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.7046, allocations: 144 kB / 0.9712 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.7046, allocations: 48.08 kB / 0.9712 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.7046, allocations: 41.7 kB / 0.9713 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.7047, allocations: 346.8 kB / 0.9716 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.7048, allocations: 63.95 kB / 0.9717 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.705, allocations: 246.2 kB / 0.9719 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.7052, allocations: 211.5 kB / 0.9721 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7052, allocations: 0 / 0.9721 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002926/0.7055, allocations: 241.5 kB / 0.9723 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.7055, allocations: 23.86 kB / 0.9723 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7055, allocations: 0 / 0.9723 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7055, allocations: 4 kB / 0.9723 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.7056, allocations: 35.98 kB / 0.9724 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7056, allocations: 4 kB / 0.9724 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.7057, allocations: 35.7 kB / 0.9724 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.7057, allocations: 15.94 kB / 0.9724 GB, free: 6.449 MB / 0.7448 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 8.622e-05/0.7058, allocations: 141.8 kB / 0.9726 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.7059, allocations: 31.81 kB / 0.9726 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.7062, allocations: 185.8 kB / 0.9728 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7062, allocations: 4 kB / 0.9728 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7062, allocations: 4 kB / 0.9728 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7062, allocations: 3.938 kB / 0.9728 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.707, allocations: 0.8033 MB / 0.9736 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7071, allocations: 0 / 0.9736 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.7071, allocations: 31.91 kB / 0.9736 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7071, allocations: 288 / 0.9736 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7071, allocations: 15.94 kB / 0.9736 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7071, allocations: 0 / 0.9736 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7071, allocations: 4 kB / 0.9736 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.7075, allocations: 343.4 kB / 0.974 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.7075, allocations: 35.81 kB / 0.974 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.7075, allocations: 7.953 kB / 0.974 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.7076, allocations: 11.98 kB / 0.974 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.7076, allocations: 12.05 kB / 0.974 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7076, allocations: 8 kB / 0.974 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001521/0.7078, allocations: 235 kB / 0.9742 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7078, allocations: 0 / 0.9742 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002725/0.7081, allocations: 95.81 kB / 0.9743 GB, free: 4.371 MB / 0.7448 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.0006799/0.7088, allocations: 0.9753 MB / 0.9753 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.709, allocations: 151.8 kB / 0.9754 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.709, allocations: 0 / 0.9754 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.7091, allocations: 56.59 kB / 0.9755 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.7095, allocations: 131.2 kB / 0.9756 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.7118, allocations: 2.772 MB / 0.9783 GB, free: 92 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.7119, allocations: 150.2 kB / 0.9785 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000123/0.712, allocations: 63.05 kB / 0.9785 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.7121, allocations: 75.34 kB / 0.9786 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of SimCode: time 4.71e-07/0.7121, allocations: 4 kB / 0.9786 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.7325, allocations: 9.657 MB / 0.988 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.799, allocations: 2.234 kB / 0.988 GB, free: 6.367 MB / 0.7605 GB " [Timeout remaining time 652] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.616487013176084] Failed to read output from testmodel.py, exit status != 0: 7.879947974812239 7.89358147 7.190174636 Calling exit ...