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.001287/0.001287, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001444/0.001444, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.75 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.8009/0.8009, allocations: 134 MB / 446.4 MB, free: 9.906 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.00197/0.00197, allocations: 70.61 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1544, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01626/0.1707, allocations: 14.06 MB / 0.7161 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.1762, allocations: 3.631 MB / 0.7196 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.1766, allocations: 27.81 kB / 0.7197 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.1772, allocations: 178.7 kB / 0.7198 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.1789, allocations: 0.7224 MB / 0.7205 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1802, allocations: 494.2 kB / 0.721 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1817, allocations: 1.12 MB / 0.7221 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.1821, allocations: 245.7 kB / 0.7223 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008178/0.1829, allocations: 0.5023 MB / 0.7228 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.1832, allocations: 242.8 kB / 0.7231 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1832, allocations: 16 kB / 0.7231 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.184, allocations: 439.1 kB / 0.7235 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.1841, allocations: 63.64 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1842, allocations: 139.2 kB / 0.7237 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.185, allocations: 0.5642 MB / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.185, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.185, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.185, allocations: 0 / 0.7242 GB, free: 10.59 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.0009882/0.186, allocations: 0.6541 MB / 0.7249 GB, free: 9.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.186, allocations: 8.922 kB / 0.7249 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.1861, allocations: 54.73 kB / 0.7249 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1862, allocations: 44.66 kB / 0.725 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.187, allocations: 367.6 kB / 0.7253 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.187, allocations: 12.33 kB / 0.7253 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.187, allocations: 20 kB / 0.7254 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1874, allocations: 201.9 kB / 0.7256 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1874, allocations: 3.938 kB / 0.7256 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1875, allocations: 8 kB / 0.7256 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1875, allocations: 8 kB / 0.7256 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.1878, allocations: 136.2 kB / 0.7257 GB, free: 9.008 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.001028/0.1888, allocations: 0.5772 MB / 0.7263 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1891, allocations: 126.5 kB / 0.7264 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1893, allocations: 68.75 kB / 0.7265 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.1894, allocations: 31.97 kB / 0.7265 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.1895, allocations: 34.56 kB / 0.7265 GB, free: 8.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1895, allocations: 0 / 0.7265 GB, free: 8.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005493/0.19, allocations: 213.3 kB / 0.7267 GB, free: 7.895 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.19, allocations: 55.41 kB / 0.7268 GB, free: 7.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.1904, allocations: 337.7 kB / 0.7271 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1904, allocations: 29.7 kB / 0.7271 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1906, allocations: 196.3 kB / 0.7273 GB, free: 7.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1906, allocations: 39.66 kB / 0.7273 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.1907, allocations: 41.58 kB / 0.7274 GB, free: 7.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1908, allocations: 342.8 kB / 0.7277 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.191, allocations: 48.83 kB / 0.7278 GB, free: 6.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1913, allocations: 246.5 kB / 0.728 GB, free: 6.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1915, allocations: 117.6 kB / 0.7281 GB, free: 6.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1915, allocations: 0 / 0.7281 GB, free: 6.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003649/0.1919, allocations: 181.3 kB / 0.7283 GB, free: 6.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1919, allocations: 6.344 kB / 0.7283 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1919, allocations: 0 / 0.7283 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1919, allocations: 7.984 kB / 0.7283 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1921, allocations: 23.98 kB / 0.7283 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1921, allocations: 4 kB / 0.7283 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1922, allocations: 15.92 kB / 0.7283 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1922, allocations: 8 kB / 0.7283 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002256/0.1924, allocations: 152 kB / 0.7285 GB, free: 5.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002573/0.1927, allocations: 245.9 kB / 0.7287 GB, free: 5.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002487/0.193, allocations: 109.7 kB / 0.7288 GB, free: 5.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.193, allocations: 3.938 kB / 0.7288 GB, free: 5.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003362/0.1933, allocations: 185.2 kB / 0.729 GB, free: 5.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.1933, allocations: 4 kB / 0.729 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.1933, allocations: 0 / 0.729 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.1933, allocations: 4 kB / 0.729 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1934, allocations: 23.92 kB / 0.729 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1934, allocations: 4 kB / 0.729 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1935, allocations: 11.98 kB / 0.7291 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1935, allocations: 8 kB / 0.7291 GB, free: 5.32 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.0001116/0.1937, allocations: 196.1 kB / 0.7292 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.1937, allocations: 35.86 kB / 0.7293 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.1942, allocations: 231.4 kB / 0.7295 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1942, allocations: 0 / 0.7295 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1942, allocations: 3.984 kB / 0.7295 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1942, allocations: 128 / 0.7295 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008593/0.1951, allocations: 0.5935 MB / 0.7301 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1951, allocations: 0 / 0.7301 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1952, allocations: 27.98 kB / 0.7301 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1952, allocations: 4.078 kB / 0.7301 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1952, allocations: 7.938 kB / 0.7301 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1952, allocations: 0 / 0.7301 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1952, allocations: 0 / 0.7301 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.1956, allocations: 329.7 kB / 0.7304 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.1957, allocations: 51.73 kB / 0.7305 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1958, allocations: 0 / 0.7305 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1959, allocations: 15.98 kB / 0.7305 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.196, allocations: 11.92 kB / 0.7305 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.196, allocations: 4 kB / 0.7305 GB, free: 3.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002236/0.1962, allocations: 239.2 kB / 0.7307 GB, free: 3.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1962, allocations: 0 / 0.7307 GB, free: 3.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004791/0.1967, allocations: 151.6 kB / 0.7309 GB, free: 3.355 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.0009379/0.1976, allocations: 0.9278 MB / 0.7318 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.1981, allocations: 187.8 kB / 0.732 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1981, allocations: 0 / 0.732 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1983, allocations: 72.02 kB / 0.732 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.199, allocations: 156.5 kB / 0.7322 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.2022, allocations: 2.641 MB / 0.7348 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2023, allocations: 193.7 kB / 0.735 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.2025, allocations: 77.38 kB / 0.735 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2027, allocations: 115.4 kB / 0.7351 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2027, allocations: 0 / 0.7351 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.2428, allocations: 10.27 MB / 0.7452 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.19, allocations: 3.984 kB / 0.7452 GB, free: 4.871 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.954416517168283] Failed to read output from testmodel.py, exit status != 0: 11.306022136006504 11.612413021 11.424544393 Calling exit ...