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.0008134/0.0008134, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.000952/0.000952, allocations: 217.2 kB / 22.26 MB, free: 3.695 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 1.04/1.04, allocations: 230.6 MB / 256 MB, free: 9.789 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.806/0.806, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001003/0.001003, allocations: 67.28 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4934, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1568/0.6501, allocations: 166.8 MB / 0.9808 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.6538, allocations: 4.654 MB / 0.9853 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.6541, allocations: 15.88 kB / 0.9854 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.6545, allocations: 123.1 kB / 0.9855 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.6558, allocations: 0.5718 MB / 0.986 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.6574, allocations: 0.8295 MB / 0.9868 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.6583, allocations: 0.5924 MB / 0.9874 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.6587, allocations: 179.7 kB / 0.9876 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.6601, allocations: 0.689 MB / 0.9883 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.6606, allocations: 318.8 kB / 0.9886 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.6607, allocations: 16 kB / 0.9886 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.6622, allocations: 1.107 MB / 0.9897 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.6623, allocations: 95.72 kB / 0.9898 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.6624, allocations: 127.4 kB / 0.9899 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.6638, allocations: 0.7243 MB / 0.9906 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6638, allocations: 0 / 0.9906 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6638, allocations: 0 / 0.9906 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.6639, allocations: 0 / 0.9906 GB, free: 4.531 MB / 0.7605 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.0008743/0.6647, allocations: 0.5275 MB / 0.9911 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6648, allocations: 8.031 kB / 0.9911 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.6648, allocations: 58.55 kB / 0.9912 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.6652, allocations: 87.66 kB / 0.9912 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.6656, allocations: 237.5 kB / 0.9915 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.6656, allocations: 12 kB / 0.9915 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.6656, allocations: 28 kB / 0.9915 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.666, allocations: 275.5 kB / 0.9918 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.666, allocations: 0 / 0.9918 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.666, allocations: 7.938 kB / 0.9918 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.666, allocations: 8 kB / 0.9918 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.6663, allocations: 207.8 kB / 0.992 GB, free: 3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.6675, allocations: 1.21 MB / 0.9932 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.6678, allocations: 169 kB / 0.9933 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.6679, allocations: 112.4 kB / 0.9934 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.6683, allocations: 95.88 kB / 0.9935 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6683, allocations: 50.55 kB / 0.9936 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.6683, allocations: 0 / 0.9936 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0005262/0.6688, allocations: 281.1 kB / 0.9938 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.6689, allocations: 158.7 kB / 0.994 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.6691, allocations: 292.1 kB / 0.9943 GB, free: 476 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.6692, allocations: 33.64 kB / 0.9943 GB, free: 436 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.6693, allocations: 140 kB / 0.9944 GB, free: 292 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.6693, allocations: 55.53 kB / 0.9945 GB, free: 236 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.6694, allocations: 41.7 kB / 0.9945 GB, free: 188 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6695, allocations: 334.8 kB / 0.9949 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.6696, allocations: 67.94 kB / 0.9949 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.6698, allocations: 148.5 kB / 0.9951 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.6701, allocations: 215.5 kB / 0.9953 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6701, allocations: 0 / 0.9953 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003311/0.6704, allocations: 245.2 kB / 0.9955 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6704, allocations: 6.031 kB / 0.9955 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6704, allocations: 8 kB / 0.9955 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6704, allocations: 0 / 0.9955 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6706, allocations: 48.16 kB / 0.9956 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6706, allocations: 4 kB / 0.9956 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.6707, allocations: 35.77 kB / 0.9956 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6707, allocations: 8 kB / 0.9956 GB, free: 15.02 MB / 0.7761 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.000108/0.6708, allocations: 153.7 kB / 0.9958 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.6709, allocations: 23.86 kB / 0.9958 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.6712, allocations: 192.8 kB / 0.996 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6712, allocations: 4 kB / 0.996 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6712, allocations: 0 / 0.996 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6712, allocations: 3.938 kB / 0.996 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.6719, allocations: 0.8228 MB / 0.9968 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6719, allocations: 0 / 0.9968 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.672, allocations: 40.02 kB / 0.9968 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.672, allocations: 0 / 0.9968 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.672, allocations: 4 kB / 0.9968 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.672, allocations: 3.938 kB / 0.9968 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.672, allocations: 4 kB / 0.9968 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.6724, allocations: 339.5 kB / 0.9971 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.6725, allocations: 35.81 kB / 0.9972 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.6727, allocations: 4.125 kB / 0.9972 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.6728, allocations: 15.98 kB / 0.9972 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.6729, allocations: 15.98 kB / 0.9972 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6729, allocations: 4 kB / 0.9972 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001889/0.6731, allocations: 235 kB / 0.9974 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.6731, allocations: 0 / 0.9974 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004428/0.6735, allocations: 103.8 kB / 0.9975 GB, free: 12.91 MB / 0.7761 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.0008735/0.6744, allocations: 0.9702 MB / 0.9985 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.6747, allocations: 147.7 kB / 0.9986 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6747, allocations: 0 / 0.9986 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.6748, allocations: 60.72 kB / 0.9987 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.6752, allocations: 132 kB / 0.9988 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.6776, allocations: 2.779 MB / 1.002 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6779, allocations: 0.7558 MB / 1.002 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.678, allocations: 64.73 kB / 1.002 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.6781, allocations: 75.41 kB / 1.002 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.6781, allocations: 0 / 1.002 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.702, allocations: 8.8 MB / 1.011 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.302, allocations: 4.062 kB / 1.011 GB, free: 15.09 MB / 0.7917 GB " [Timeout remaining time 653] (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.485475594876334] Failed to read output from testmodel.py, exit status != 0: 7.389073136961088 7.402619495 6.73622856 Calling exit ...