Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.000759/0.000759, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008455/0.0008455, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9159/0.9159, allocations: 230.6 MB / 256 MB, free: 9.598 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.7648/0.7648, 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.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.0009533/0.0009533, allocations: 63.12 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4798, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.1548/0.6346, allocations: 171.8 MB / 0.9856 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008199/0.6428, allocations: 9.27 MB / 0.9946 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.6435, allocations: 39.62 kB / 0.9946 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.6444, allocations: 405 kB / 0.995 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.6466, allocations: 1.038 MB / 0.996 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.649, allocations: 1.355 MB / 0.9974 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.6507, allocations: 1.709 MB / 0.999 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.6516, allocations: 0.6059 MB / 0.9996 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.6544, allocations: 1.701 MB / 1.001 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.655, allocations: 0.5133 MB / 1.002 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.655, allocations: 64 kB / 1.002 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.6567, allocations: 1.141 MB / 1.003 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.657, allocations: 359 kB / 1.003 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.6572, allocations: 362.3 kB / 1.004 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.6589, allocations: 1.471 MB / 1.005 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6589, allocations: 0 / 1.005 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6589, allocations: 0 / 1.005 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.6589, allocations: 0 / 1.005 GB, free: 5.188 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001144/0.66, allocations: 1.096 MB / 1.006 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6601, allocations: 8.031 kB / 1.006 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.6602, allocations: 126.6 kB / 1.006 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6613, allocations: 291.1 kB / 1.007 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.662, allocations: 0.5049 MB / 1.007 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.662, allocations: 58 kB / 1.007 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.6621, allocations: 71.98 kB / 1.007 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.663, allocations: 0.905 MB / 1.008 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.663, allocations: 0 / 1.008 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.663, allocations: 32 kB / 1.008 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.6631, allocations: 45.28 kB / 1.008 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.6637, allocations: 0.5748 MB / 1.009 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.6663, allocations: 2.997 MB / 1.012 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.6666, allocations: 215.7 kB / 1.012 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.6667, allocations: 138.5 kB / 1.012 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.6671, allocations: 107.9 kB / 1.012 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.6671, allocations: 34.5 kB / 1.012 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/0.6671, allocations: 3.938 kB / 1.012 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of matching and sorting (n=21): time 0.0008073/0.6679, allocations: 458.8 kB / 1.013 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6679, allocations: 106.8 kB / 1.013 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/0.6688, allocations: 0.8683 MB / 1.013 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.6689, allocations: 29.7 kB / 1.014 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.6691, allocations: 388.2 kB / 1.014 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.6691, allocations: 83.31 kB / 1.014 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.6692, allocations: 61.72 kB / 1.014 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.6693, allocations: 318 kB / 1.014 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.6694, allocations: 107.9 kB / 1.014 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.6696, allocations: 339.6 kB / 1.015 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.6699, allocations: 314.8 kB / 1.015 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6699, allocations: 0 / 1.015 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004507/0.6704, allocations: 403.1 kB / 1.015 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6704, allocations: 4 kB / 1.015 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6704, allocations: 4 kB / 1.015 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6704, allocations: 7.938 kB / 1.015 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.6706, allocations: 59.91 kB / 1.016 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.6706, allocations: 7.984 kB / 1.016 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.6709, allocations: 87.62 kB / 1.016 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.6709, allocations: 16 kB / 1.016 GB, free: 9.934 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002445/0.6711, allocations: 233.6 kB / 1.016 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.6712, allocations: 79.48 kB / 1.016 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.6716, allocations: 322.4 kB / 1.016 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6716, allocations: 4 kB / 1.016 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6716, allocations: 0 / 1.016 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6716, allocations: 3.984 kB / 1.016 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.6729, allocations: 1.287 MB / 1.017 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6729, allocations: 4 kB / 1.017 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.673, allocations: 43.97 kB / 1.018 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.673, allocations: 11.88 kB / 1.018 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.6731, allocations: 15.94 kB / 1.018 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.6731, allocations: 4 kB / 1.018 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6731, allocations: 4 kB / 1.018 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.6735, allocations: 0.517 MB / 1.018 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.6736, allocations: 119.4 kB / 1.018 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.6737, allocations: 7.984 kB / 1.018 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6739, allocations: 23.94 kB / 1.018 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.6739, allocations: 27.84 kB / 1.018 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.6739, allocations: 12 kB / 1.018 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005477/0.6745, allocations: 0.6083 MB / 1.019 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.6745, allocations: 0 / 1.019 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004817/0.675, allocations: 175.7 kB / 1.019 GB, free: 6.27 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (21): * Single equations (assignments): 21 * 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.0007626/0.6757, allocations: 1.118 MB / 1.02 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.6763, allocations: 271.8 kB / 1.02 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6763, allocations: 0 / 1.02 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.6764, allocations: 125.2 kB / 1.02 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6775, allocations: 423.8 kB / 1.021 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.6825, allocations: 5.99 MB / 1.027 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.6829, allocations: 406.2 kB / 1.027 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.6833, allocations: 162.2 kB / 1.027 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.6835, allocations: 275.4 kB / 1.028 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.6835, allocations: 0 / 1.028 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.716, allocations: 23.05 MB / 1.05 GB, free: 6.555 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.862, allocations: 4.562 kB / 1.05 GB, free: 6.551 MB / 0.823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.721466440241784] Failed to read output from testmodel.py, exit status != 0: 7.95079098502174 7.960695523 7.29907245 Calling exit ...