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.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.001633/0.001633, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.0021/0.0021, allocations: 218.2 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.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.8395/0.8395, allocations: 134 MB / 446.4 MB, free: 10.27 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.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_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: 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.002166/0.002166, allocations: 63.75 kB / 0.6186 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1671, allocations: 85.91 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5698/0.7369, allocations: 166.8 MB / 0.8653 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006705/0.7436, allocations: 4.638 MB / 0.8699 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.744, allocations: 19.81 kB / 0.8699 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.7445, allocations: 127.1 kB / 0.87 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.7463, allocations: 0.5718 MB / 0.8706 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.7486, allocations: 0.822 MB / 0.8714 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.7496, allocations: 0.5885 MB / 0.8719 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.75, allocations: 165.4 kB / 0.8721 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.7511, allocations: 486.2 kB / 0.8726 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.7519, allocations: 321.5 kB / 0.8729 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.752, allocations: 16 kB / 0.8729 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.7542, allocations: 1.103 MB / 0.874 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.7543, allocations: 91.72 kB / 0.8741 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.7546, allocations: 135.3 kB / 0.8742 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.7564, allocations: 0.7238 MB / 0.8749 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7564, allocations: 4 kB / 0.8749 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7564, allocations: 0 / 0.8749 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.7564, allocations: 0 / 0.8749 GB, free: 6.062 MB / 0.6387 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.001269/0.7577, allocations: 0.5352 MB / 0.8754 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7577, allocations: 8.031 kB / 0.8754 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.7578, allocations: 54.55 kB / 0.8755 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.7585, allocations: 79.73 kB / 0.8756 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.759, allocations: 241.6 kB / 0.8758 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.759, allocations: 16 kB / 0.8758 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.7591, allocations: 20 kB / 0.8758 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.7596, allocations: 283.4 kB / 0.8761 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.7597, allocations: 3.938 kB / 0.8761 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7597, allocations: 8 kB / 0.8761 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7597, allocations: 4 kB / 0.8761 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.7601, allocations: 207.7 kB / 0.8763 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.7619, allocations: 1.202 MB / 0.8775 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.7623, allocations: 173 kB / 0.8776 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7625, allocations: 108.2 kB / 0.8777 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.7631, allocations: 103.9 kB / 0.8778 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.7632, allocations: 46.67 kB / 0.8779 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.7632, allocations: 0 / 0.8779 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0008063/0.764, allocations: 285.1 kB / 0.8782 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7641, allocations: 158.2 kB / 0.8783 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.7645, allocations: 292.1 kB / 0.8786 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.7645, allocations: 30.2 kB / 0.8786 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.7646, allocations: 148 kB / 0.8788 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.7647, allocations: 55.53 kB / 0.8788 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.7648, allocations: 41.7 kB / 0.8788 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7649, allocations: 334.8 kB / 0.8792 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.7651, allocations: 59.95 kB / 0.8792 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.7653, allocations: 152.5 kB / 0.8794 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.7657, allocations: 215.5 kB / 0.8796 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7657, allocations: 0 / 0.8796 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005373/0.7663, allocations: 251.8 kB / 0.8798 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7663, allocations: 4 kB / 0.8798 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.7663, allocations: 4 kB / 0.8798 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.7663, allocations: 4 kB / 0.8798 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.7665, allocations: 39.97 kB / 0.8799 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.7665, allocations: 11.88 kB / 0.8799 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7667, allocations: 24.08 kB / 0.8799 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.7668, allocations: 20 kB / 0.8799 GB, free: 0.5391 MB / 0.6387 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.0001597/0.7669, allocations: 145.8 kB / 0.8801 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7671, allocations: 27.84 kB / 0.8801 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.7675, allocations: 194 kB / 0.8803 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7675, allocations: 4 kB / 0.8803 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7676, allocations: 3.938 kB / 0.8803 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7676, allocations: 0 / 0.8803 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7687, allocations: 0.8267 MB / 0.8811 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7687, allocations: 0 / 0.8811 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.7688, allocations: 27.98 kB / 0.8811 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.7688, allocations: 0 / 0.8811 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.7688, allocations: 4 kB / 0.8811 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7688, allocations: 4.156 kB / 0.8811 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7688, allocations: 7.938 kB / 0.8811 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.7695, allocations: 339.4 kB / 0.8815 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.7695, allocations: 39.81 kB / 0.8815 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.7696, allocations: 7.984 kB / 0.8815 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.7698, allocations: 4 kB / 0.8815 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.7698, allocations: 11.98 kB / 0.8815 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.7698, allocations: 4 kB / 0.8815 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002588/0.7701, allocations: 239.1 kB / 0.8817 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7701, allocations: 0 / 0.8817 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005087/0.7706, allocations: 103.8 kB / 0.8818 GB, free: 14.45 MB / 0.6544 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.001284/0.7719, allocations: 0.9779 MB / 0.8828 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.7723, allocations: 143.8 kB / 0.8829 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.7723, allocations: 0 / 0.8829 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.7724, allocations: 59.89 kB / 0.883 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.7732, allocations: 142 kB / 0.8831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.7772, allocations: 2.78 MB / 0.8858 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.7776, allocations: 0.7596 MB / 0.8866 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.7778, allocations: 66.88 kB / 0.8866 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7779, allocations: 71.41 kB / 0.8867 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of SimCode: time 8.31e-07/0.7779, allocations: 4 kB / 0.8867 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.8199, allocations: 8.768 MB / 0.8953 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.01, allocations: 8.062 kB / 0.8953 GB, free: 0.668 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.56591342901811] Failed to read output from testmodel.py, exit status != 0: 12.119943376164883 12.146173444 11.385012958999999 Calling exit ...