Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.001245/0.001245, allocations: 103.9 kB / 16.45 MB, free: 6.449 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.001301/0.001301, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.352/1.352, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.7983/0.7983, allocations: 133.9 MB / 442.8 MB, free: 11.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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",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.001765/0.001765, allocations: 61.44 kB / 0.6134 GB, free: 8.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1597, allocations: 85.85 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01624/0.176, allocations: 15.26 MB / 0.7122 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005563/0.1815, allocations: 3.938 MB / 0.716 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.1819, allocations: 31.81 kB / 0.716 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.1824, allocations: 194.6 kB / 0.7162 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.1839, allocations: 0.7076 MB / 0.7169 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1851, allocations: 485.4 kB / 0.7174 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1865, allocations: 1.099 MB / 0.7184 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.1869, allocations: 262.1 kB / 0.7187 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006332/0.1875, allocations: 414.4 kB / 0.7191 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1879, allocations: 270.8 kB / 0.7193 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.1879, allocations: 24 kB / 0.7194 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1891, allocations: 0.7407 MB / 0.7201 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1892, allocations: 83.55 kB / 0.7202 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1894, allocations: 183 kB / 0.7203 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1905, allocations: 0.7395 MB / 0.7211 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1905, allocations: 0 / 0.7211 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1905, allocations: 0 / 0.7211 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1905, allocations: 3.938 kB / 0.7211 GB, free: 10.48 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001251/0.1917, allocations: 0.7717 MB / 0.7218 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1918, allocations: 9.109 kB / 0.7218 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.1918, allocations: 50.73 kB / 0.7219 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.1919, allocations: 44.66 kB / 0.7219 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.1929, allocations: 0.5129 MB / 0.7224 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.1929, allocations: 20.33 kB / 0.7224 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.193, allocations: 16 kB / 0.7225 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1934, allocations: 180.1 kB / 0.7226 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1934, allocations: 0 / 0.7226 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1934, allocations: 11.94 kB / 0.7226 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1934, allocations: 4 kB / 0.7226 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.1937, allocations: 136.2 kB / 0.7228 GB, free: 8.625 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1949, allocations: 0.8647 MB / 0.7236 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1952, allocations: 114.5 kB / 0.7237 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1953, allocations: 72.81 kB / 0.7238 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.1957, allocations: 336.4 kB / 0.7241 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1957, allocations: 34.56 kB / 0.7242 GB, free: 7.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1957, allocations: 0 / 0.7242 GB, free: 7.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005843/0.1963, allocations: 221.3 kB / 0.7244 GB, free: 6.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1963, allocations: 55.34 kB / 0.7244 GB, free: 6.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.1967, allocations: 345.7 kB / 0.7247 GB, free: 6.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1968, allocations: 25.7 kB / 0.7248 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1969, allocations: 196.4 kB / 0.725 GB, free: 6.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1969, allocations: 43.59 kB / 0.725 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.197, allocations: 37.7 kB / 0.725 GB, free: 6.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1972, allocations: 338.8 kB / 0.7254 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1973, allocations: 56.83 kB / 0.7254 GB, free: 5.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1975, allocations: 89.59 kB / 0.7255 GB, free: 5.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1978, allocations: 117.6 kB / 0.7256 GB, free: 5.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1978, allocations: 4 kB / 0.7256 GB, free: 5.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003916/0.1982, allocations: 189.2 kB / 0.7258 GB, free: 5.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1982, allocations: 8 kB / 0.7258 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1982, allocations: 0 / 0.7258 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1982, allocations: 0 / 0.7258 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1983, allocations: 27.97 kB / 0.7258 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1984, allocations: 64 / 0.7258 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1985, allocations: 23.98 kB / 0.7259 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.1986, allocations: 8 kB / 0.7259 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002261/0.1988, allocations: 156.1 kB / 0.726 GB, free: 5.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001643/0.199, allocations: 88.19 kB / 0.7261 GB, free: 4.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002795/0.1992, allocations: 109.7 kB / 0.7262 GB, free: 4.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.32e-07/0.1992, allocations: 0 / 0.7262 GB, free: 4.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003652/0.1996, allocations: 181.2 kB / 0.7264 GB, free: 4.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.1996, allocations: 4 kB / 0.7264 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.1996, allocations: 0 / 0.7264 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.1996, allocations: 4 kB / 0.7264 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1997, allocations: 23.98 kB / 0.7264 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1997, allocations: 11.97 kB / 0.7264 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1999, allocations: 15.98 kB / 0.7264 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1999, allocations: 4 kB / 0.7264 GB, free: 4.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001219/0.2, allocations: 192.1 kB / 0.7266 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.2001, allocations: 39.95 kB / 0.7267 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.2006, allocations: 218 kB / 0.7269 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2006, allocations: 8 kB / 0.7269 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2006, allocations: 4 kB / 0.7269 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2006, allocations: 3.984 kB / 0.7269 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.2015, allocations: 0.6341 MB / 0.7275 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2015, allocations: 0 / 0.7275 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.2016, allocations: 27.98 kB / 0.7275 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2016, allocations: 8.094 kB / 0.7275 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2017, allocations: 0 / 0.7275 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2017, allocations: 4 kB / 0.7275 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2017, allocations: 0 / 0.7275 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.2021, allocations: 327.6 kB / 0.7278 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2023, allocations: 128.8 kB / 0.728 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2023, allocations: 4 kB / 0.728 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2025, allocations: 11.98 kB / 0.728 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2025, allocations: 15.92 kB / 0.728 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2026, allocations: 8 kB / 0.728 GB, free: 2.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002609/0.2028, allocations: 247.2 kB / 0.7282 GB, free: 2.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2028, allocations: 4 kB / 0.7282 GB, free: 2.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005804/0.2034, allocations: 195.4 kB / 0.7284 GB, free: 2.398 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001131/0.2045, allocations: 0.9911 MB / 0.7294 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.205, allocations: 187.7 kB / 0.7296 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.205, allocations: 0 / 0.7296 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2052, allocations: 75.89 kB / 0.7297 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.206, allocations: 157.8 kB / 0.7298 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.2095, allocations: 2.724 MB / 0.7325 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2099, allocations: 0.8033 MB / 0.7332 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.2101, allocations: 75.03 kB / 0.7333 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2103, allocations: 115.4 kB / 0.7334 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2103, allocations: 0 / 0.7334 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.2443, allocations: 10.12 MB / 0.7433 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.249, allocations: 4.062 kB / 0.7433 GB, free: 3.234 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_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_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.97396971200942] Failed to read output from testmodel.py, exit status != 0: 8.321721465996234 8.632475173 8.43967776 Calling exit ...