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.001961/0.001961, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.002291/0.002291, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8742/0.8742, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.001959/0.001959, allocations: 62.38 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1769, allocations: 85.86 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5431/0.72, allocations: 179.5 MB / 0.8725 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.7317, allocations: 8.774 MB / 0.8811 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007758/0.7325, allocations: 31.75 kB / 0.8811 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.7333, allocations: 305.7 kB / 0.8814 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007802/0.734, allocations: 326.3 kB / 0.8817 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.735, allocations: 375.7 kB / 0.8821 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.7363, allocations: 1.145 MB / 0.8832 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007232/0.737, allocations: 0.5022 MB / 0.8837 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.7416, allocations: 2.137 MB / 0.8858 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.7421, allocations: 382.3 kB / 0.8861 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.7421, allocations: 36 kB / 0.8862 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.7423, allocations: 87.95 kB / 0.8863 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.7426, allocations: 267.2 kB / 0.8865 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.7429, allocations: 286.4 kB / 0.8868 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.7436, allocations: 0.648 MB / 0.8874 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7436, allocations: 4 kB / 0.8874 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7436, allocations: 0 / 0.8874 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7436, allocations: 0 / 0.8874 GB, free: 5.66 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.001084/0.7447, allocations: 0.8372 MB / 0.8882 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7448, allocations: 13.11 kB / 0.8883 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.7449, allocations: 98.5 kB / 0.8884 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.745, allocations: 72.7 kB / 0.8884 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.7457, allocations: 450.4 kB / 0.8889 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.7457, allocations: 41.3 kB / 0.8889 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.7458, allocations: 52 kB / 0.8889 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.7468, allocations: 0.7027 MB / 0.8896 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.7468, allocations: 7.875 kB / 0.8896 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.7469, allocations: 27.98 kB / 0.8897 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.7469, allocations: 35.97 kB / 0.8897 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.7476, allocations: 379.2 kB / 0.8901 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.7503, allocations: 3.213 MB / 0.8932 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.7506, allocations: 214.1 kB / 0.8934 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.7508, allocations: 128.6 kB / 0.8935 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.7508, allocations: 7.938 kB / 0.8935 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.7509, allocations: 58.42 kB / 0.8936 GB, free: 14.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.7509, allocations: 0 / 0.8936 GB, free: 14.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007098/0.7516, allocations: 254 kB / 0.8938 GB, free: 14.64 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.7517, allocations: 286.7 kB / 0.8941 GB, free: 14.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.7525, allocations: 0.6838 MB / 0.8948 GB, free: 13.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.7525, allocations: 29.7 kB / 0.8948 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.7528, allocations: 268.2 kB / 0.8951 GB, free: 13.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.7528, allocations: 39.72 kB / 0.8951 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.7528, allocations: 29.81 kB / 0.8951 GB, free: 13.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.753, allocations: 370.8 kB / 0.8955 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.7532, allocations: 39.91 kB / 0.8955 GB, free: 12.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.7533, allocations: 93.09 kB / 0.8956 GB, free: 12.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.7536, allocations: 125 kB / 0.8957 GB, free: 12.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7536, allocations: 4 kB / 0.8957 GB, free: 12.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003665/0.754, allocations: 201 kB / 0.8959 GB, free: 12.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.754, allocations: 4 kB / 0.8959 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.754, allocations: 4 kB / 0.8959 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.754, allocations: 0 / 0.8959 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.7542, allocations: 48.08 kB / 0.896 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7542, allocations: 0 / 0.896 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.7544, allocations: 59.5 kB / 0.896 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.7545, allocations: 8 kB / 0.896 GB, free: 12.24 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.0002026/0.7547, allocations: 193.8 kB / 0.8962 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.7549, allocations: 67.56 kB / 0.8963 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.755, allocations: 68.3 kB / 0.8963 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.755, allocations: 4 kB / 0.8964 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.755, allocations: 4 kB / 0.8964 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.755, allocations: 4.188 kB / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.7564, allocations: 1.304 MB / 0.8976 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7564, allocations: 3.938 kB / 0.8976 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.7566, allocations: 43.89 kB / 0.8977 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7566, allocations: 4 kB / 0.8977 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7566, allocations: 4 kB / 0.8977 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.7566, allocations: 0 / 0.8977 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.7566, allocations: 16.2 kB / 0.8977 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.7571, allocations: 334.7 kB / 0.898 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.7572, allocations: 148.7 kB / 0.8982 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.7573, allocations: 8.875 kB / 0.8982 GB, free: 9.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.7574, allocations: 11.92 kB / 0.8982 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.7575, allocations: 23.92 kB / 0.8982 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.7575, allocations: 4 kB / 0.8982 GB, free: 9.848 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005676/0.7581, allocations: 0.4912 MB / 0.8987 GB, free: 9.363 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7581, allocations: 0 / 0.8987 GB, free: 9.363 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003839/0.7585, allocations: 83.89 kB / 0.8988 GB, free: 9.281 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.0008304/0.7593, allocations: 0.8965 MB / 0.8996 GB, free: 8.328 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.7596, allocations: 103.8 kB / 0.8997 GB, free: 8.227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7596, allocations: 0 / 0.8997 GB, free: 8.227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.7598, allocations: 64.22 kB / 0.8998 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7611, allocations: 279.5 kB / 0.9001 GB, free: 7.906 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.7667, allocations: 4.474 MB / 0.9044 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.7672, allocations: 0.8972 MB / 0.9053 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.7675, allocations: 108.6 kB / 0.9054 GB, free: 2.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.7677, allocations: 167.4 kB / 0.9056 GB, free: 2.066 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.7677, allocations: 0 / 0.9056 GB, free: 2.066 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.8075, allocations: 13.6 MB / 0.9189 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/9.371, allocations: 2.25 kB / 0.9189 GB, free: 4.695 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.013862891995814] Failed to read output from testmodel.py, exit status != 0: 9.446363583003404 9.471968584 8.723501179 Calling exit ...