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.0008181/0.0008181, 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.0008612/0.0008612, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9289/0.9289, allocations: 230.6 MB / 256 MB, free: 9.59 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.775/0.775, 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.0008802/0.0008802, allocations: 66.12 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4884, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1474/0.6358, allocations: 143.9 MB / 0.9584 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004257/0.64, allocations: 4.236 MB / 0.9625 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.6404, allocations: 11.88 kB / 0.9625 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.6408, allocations: 127 kB / 0.9626 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.6422, allocations: 0.564 MB / 0.9632 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.6438, allocations: 0.8087 MB / 0.964 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.6445, allocations: 0.5846 MB / 0.9645 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.6448, allocations: 179.8 kB / 0.9647 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.646, allocations: 0.6694 MB / 0.9654 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.6465, allocations: 298.8 kB / 0.9656 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.6465, allocations: 20 kB / 0.9657 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.6477, allocations: 0.8493 MB / 0.9665 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6478, allocations: 91.72 kB / 0.9666 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.6479, allocations: 107.5 kB / 0.9667 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.649, allocations: 0.6853 MB / 0.9674 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.649, allocations: 0 / 0.9674 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.795e-06/0.649, allocations: 0 / 0.9674 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.649, allocations: 0 / 0.9674 GB, free: 12.06 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.00116/0.6501, allocations: 0.5352 MB / 0.9679 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6502, allocations: 16.02 kB / 0.9679 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.6502, allocations: 46.55 kB / 0.9679 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.6506, allocations: 79.69 kB / 0.968 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.651, allocations: 249.6 kB / 0.9683 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.651, allocations: 16 kB / 0.9683 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.651, allocations: 16 kB / 0.9683 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.6514, allocations: 279.5 kB / 0.9685 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6514, allocations: 4 kB / 0.9686 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.6514, allocations: 11.94 kB / 0.9686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6514, allocations: 8 kB / 0.9686 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.6517, allocations: 207.7 kB / 0.9688 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.6528, allocations: 1.159 MB / 0.9699 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.653, allocations: 173 kB / 0.9701 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.6532, allocations: 104.2 kB / 0.9702 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/0.6535, allocations: 111.8 kB / 0.9703 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.6535, allocations: 42.69 kB / 0.9703 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.6535, allocations: 0 / 0.9703 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005122/0.6541, allocations: 273.8 kB / 0.9706 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.6541, allocations: 162.2 kB / 0.9707 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.6543, allocations: 300.1 kB / 0.971 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6543, allocations: 29.7 kB / 0.971 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.6544, allocations: 151.9 kB / 0.9712 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.6545, allocations: 43.59 kB / 0.9712 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.6545, allocations: 41.7 kB / 0.9713 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.6546, allocations: 342.8 kB / 0.9716 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.6547, allocations: 63.95 kB / 0.9717 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.6549, allocations: 243.3 kB / 0.9719 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.6551, allocations: 211.5 kB / 0.9721 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6551, allocations: 0 / 0.9721 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003268/0.6554, allocations: 249.2 kB / 0.9723 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6555, allocations: 8 kB / 0.9723 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6555, allocations: 3.938 kB / 0.9723 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.6555, allocations: 7.984 kB / 0.9723 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.6556, allocations: 31.98 kB / 0.9724 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6556, allocations: 4 kB / 0.9724 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.6557, allocations: 43.95 kB / 0.9724 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.6557, allocations: 8 kB / 0.9724 GB, free: 6.461 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 0.0001126/0.6559, allocations: 149.8 kB / 0.9726 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.656, allocations: 27.81 kB / 0.9726 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.6562, allocations: 191.4 kB / 0.9728 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6563, allocations: 0 / 0.9728 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6563, allocations: 4 kB / 0.9728 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6563, allocations: 7.922 kB / 0.9728 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.6569, allocations: 0.8073 MB / 0.9736 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6569, allocations: 0 / 0.9736 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.657, allocations: 27.92 kB / 0.9736 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.657, allocations: 0 / 0.9736 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.657, allocations: 7.984 kB / 0.9736 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.657, allocations: 0 / 0.9736 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.657, allocations: 4 kB / 0.9736 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.6574, allocations: 343.6 kB / 0.9739 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.6574, allocations: 35.81 kB / 0.974 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.6575, allocations: 3.953 kB / 0.974 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.6575, allocations: 12 kB / 0.974 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.6576, allocations: 11.97 kB / 0.974 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.6576, allocations: 7.938 kB / 0.974 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005714/0.6581, allocations: 239 kB / 0.9742 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.6581, allocations: 0 / 0.9742 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004337/0.6586, allocations: 91.81 kB / 0.9743 GB, free: 4.387 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.0008324/0.6594, allocations: 0.9779 MB / 0.9753 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.6597, allocations: 143.8 kB / 0.9754 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6597, allocations: 0 / 0.9754 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.6598, allocations: 59.89 kB / 0.9755 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.6603, allocations: 141 kB / 0.9756 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.6627, allocations: 2.775 MB / 0.9783 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.6628, allocations: 150.2 kB / 0.9785 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.6629, allocations: 62.89 kB / 0.9785 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.663, allocations: 75.41 kB / 0.9786 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.243e-06/0.663, allocations: 7.938 kB / 0.9786 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.6868, allocations: 9.653 MB / 0.988 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.849, allocations: 6.656 kB / 0.988 GB, free: 6.371 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.773132775910199] Failed to read output from testmodel.py, exit status != 0: 7.928831568919122 7.939151921 7.288226359 Calling exit ...