Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.001269/0.001269, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001525/0.001525, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.012 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.8413/0.8413, allocations: 134 MB / 446.4 MB, free: 10.26 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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.001917/0.001917, allocations: 68.16 kB / 0.6185 GB, free: 7.195 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1642, allocations: 85.9 MB / 0.7024 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5505/0.7148, allocations: 179.7 MB / 0.878 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.7253, allocations: 8.834 MB / 0.8866 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.7259, allocations: 27.75 kB / 0.8866 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.7267, allocations: 305.7 kB / 0.8869 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007084/0.7274, allocations: 318.4 kB / 0.8872 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.7284, allocations: 423.1 kB / 0.8876 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.7296, allocations: 1.168 MB / 0.8887 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.7303, allocations: 447.1 kB / 0.8892 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.7347, allocations: 2.183 MB / 0.8913 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.7352, allocations: 374.4 kB / 0.8917 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.7353, allocations: 40 kB / 0.8917 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.7355, allocations: 87.94 kB / 0.8918 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.7357, allocations: 267.2 kB / 0.892 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.736, allocations: 278.5 kB / 0.8923 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.7367, allocations: 0.6518 MB / 0.8929 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7367, allocations: 0 / 0.8929 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7367, allocations: 0 / 0.8929 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7367, allocations: 3.938 kB / 0.8929 GB, free: 3.473 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001057/0.7378, allocations: 0.7737 MB / 0.8937 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7378, allocations: 11.97 kB / 0.8937 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.7379, allocations: 98.5 kB / 0.8938 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.738, allocations: 67.58 kB / 0.8939 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.7388, allocations: 379.3 kB / 0.8942 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.7388, allocations: 41.3 kB / 0.8943 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.7389, allocations: 63.92 kB / 0.8943 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.7399, allocations: 0.7027 MB / 0.895 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.7399, allocations: 11.88 kB / 0.895 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.74, allocations: 20 kB / 0.895 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.74, allocations: 27.98 kB / 0.8951 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.7407, allocations: 386.8 kB / 0.8954 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.7434, allocations: 3.155 MB / 0.8985 GB, free: 13.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.7437, allocations: 222.1 kB / 0.8987 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.7439, allocations: 132.5 kB / 0.8989 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.7439, allocations: 4 kB / 0.8989 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.7439, allocations: 46.44 kB / 0.8989 GB, free: 12.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.7439, allocations: 0 / 0.8989 GB, free: 12.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006637/0.7446, allocations: 249.4 kB / 0.8991 GB, free: 12.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.7447, allocations: 295.4 kB / 0.8994 GB, free: 12.34 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.7455, allocations: 0.6878 MB / 0.9001 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.7455, allocations: 25.7 kB / 0.9001 GB, free: 11.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.7458, allocations: 272.2 kB / 0.9004 GB, free: 11.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.7458, allocations: 31.73 kB / 0.9004 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.7458, allocations: 29.7 kB / 0.9004 GB, free: 11.28 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.746, allocations: 366.8 kB / 0.9008 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.7461, allocations: 39.95 kB / 0.9008 GB, free: 10.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7463, allocations: 101 kB / 0.9009 GB, free: 10.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.7465, allocations: 125 kB / 0.901 GB, free: 10.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7465, allocations: 0 / 0.901 GB, free: 10.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003435/0.7469, allocations: 197 kB / 0.9012 GB, free: 10.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7469, allocations: 8.188 kB / 0.9012 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7469, allocations: 4 kB / 0.9012 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7469, allocations: 4 kB / 0.9013 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.7471, allocations: 40.22 kB / 0.9013 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7471, allocations: 4 kB / 0.9013 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.7473, allocations: 59.5 kB / 0.9013 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.7474, allocations: 11.94 kB / 0.9014 GB, free: 10.29 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0002158/0.7476, allocations: 205.7 kB / 0.9016 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.7478, allocations: 67.56 kB / 0.9016 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.7479, allocations: 56.27 kB / 0.9017 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7479, allocations: 4 kB / 0.9017 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7479, allocations: 4 kB / 0.9017 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7479, allocations: 8.859 kB / 0.9017 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.7494, allocations: 1.268 MB / 0.9029 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7494, allocations: 4 kB / 0.9029 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.7495, allocations: 44.23 kB / 0.903 GB, free: 8.531 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7495, allocations: 192 / 0.903 GB, free: 8.531 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.7496, allocations: 11.94 kB / 0.903 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.7496, allocations: 11.88 kB / 0.903 GB, free: 8.512 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.7496, allocations: 7.938 kB / 0.903 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.75, allocations: 326.8 kB / 0.9033 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.7501, allocations: 79.59 kB / 0.9034 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.7502, allocations: 8 kB / 0.9034 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.7503, allocations: 7.984 kB / 0.9034 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.7504, allocations: 19.86 kB / 0.9034 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7504, allocations: 4 kB / 0.9034 GB, free: 8.023 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006451/0.7511, allocations: 0.4951 MB / 0.9039 GB, free: 7.535 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7511, allocations: 0 / 0.9039 GB, free: 7.535 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003873/0.7514, allocations: 87.89 kB / 0.904 GB, free: 7.449 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0008412/0.7523, allocations: 0.8912 MB / 0.9049 GB, free: 6.504 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7526, allocations: 107.8 kB / 0.905 GB, free: 6.398 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7526, allocations: 0 / 0.905 GB, free: 6.398 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.7527, allocations: 55.84 kB / 0.905 GB, free: 6.344 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.754, allocations: 279.1 kB / 0.9053 GB, free: 6.086 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.7595, allocations: 4.481 MB / 0.9097 GB, free: 1.441 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.7601, allocations: 0.905 MB / 0.9106 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002724/0.7603, allocations: 104.6 kB / 0.9107 GB, free: 416 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7605, allocations: 167.4 kB / 0.9108 GB, free: 248 kB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.7605, allocations: 3.938 kB / 0.9108 GB, free: 244 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.8076, allocations: 13.76 MB / 0.9242 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.16, allocations: 15.2 kB / 0.9243 GB, free: 2.746 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.734166280999489] Failed to read output from testmodel.py, exit status != 0: 12.26717181300046 12.293849848 11.552203183 Calling exit ...