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.001577/0.001577, allocations: 113 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.001704/0.001704, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.035 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.8057/0.8057, allocations: 134 MB / 446.4 MB, free: 10.29 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.001841/0.001841, allocations: 62.34 kB / 0.6185 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 85.92 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01678/0.1753, allocations: 15.41 MB / 0.7175 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005648/0.1809, allocations: 3.95 MB / 0.7213 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.1813, allocations: 27.81 kB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.1819, allocations: 194.6 kB / 0.7216 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1835, allocations: 0.7221 MB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1848, allocations: 0.4931 MB / 0.7227 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.1863, allocations: 1.114 MB / 0.7238 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1867, allocations: 245.7 kB / 0.7241 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.1873, allocations: 422.4 kB / 0.7245 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.1877, allocations: 274.7 kB / 0.7247 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.1877, allocations: 20 kB / 0.7248 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1889, allocations: 0.7485 MB / 0.7255 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.189, allocations: 87.55 kB / 0.7256 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1892, allocations: 183 kB / 0.7257 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.1901, allocations: 0.7434 MB / 0.7265 GB, free: 8.719 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1901, allocations: 0 / 0.7265 GB, free: 8.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1901, allocations: 0 / 0.7265 GB, free: 8.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1901, allocations: 0 / 0.7265 GB, free: 8.719 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.001098/0.1912, allocations: 0.6868 MB / 0.7271 GB, free: 7.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1913, allocations: 8.031 kB / 0.7271 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.1913, allocations: 54.73 kB / 0.7272 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.1914, allocations: 44.66 kB / 0.7272 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009474/0.1923, allocations: 458 kB / 0.7277 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1924, allocations: 20.31 kB / 0.7277 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1924, allocations: 20 kB / 0.7277 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1927, allocations: 176.2 kB / 0.7279 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1928, allocations: 0 / 0.7279 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1928, allocations: 4 kB / 0.7279 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1928, allocations: 4 kB / 0.7279 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1931, allocations: 144.1 kB / 0.728 GB, free: 7.047 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.001106/0.1942, allocations: 0.8176 MB / 0.7288 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1945, allocations: 122.5 kB / 0.7289 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1946, allocations: 68.81 kB / 0.729 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.1948, allocations: 31.97 kB / 0.729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1948, allocations: 34.56 kB / 0.7291 GB, free: 5.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1948, allocations: 0 / 0.7291 GB, free: 5.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005268/0.1953, allocations: 214.3 kB / 0.7293 GB, free: 5.648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1953, allocations: 59.41 kB / 0.7293 GB, free: 5.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1957, allocations: 349.7 kB / 0.7297 GB, free: 5.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1957, allocations: 29.64 kB / 0.7297 GB, free: 5.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1959, allocations: 192.4 kB / 0.7299 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.1959, allocations: 47.56 kB / 0.7299 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.196, allocations: 41.64 kB / 0.73 GB, free: 4.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1961, allocations: 338.8 kB / 0.7303 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1962, allocations: 60.81 kB / 0.7303 GB, free: 4.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1964, allocations: 85.39 kB / 0.7304 GB, free: 4.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.1967, allocations: 121.7 kB / 0.7305 GB, free: 4.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1967, allocations: 4 kB / 0.7305 GB, free: 4.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003467/0.197, allocations: 185.2 kB / 0.7307 GB, free: 4.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.197, allocations: 4 kB / 0.7307 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.197, allocations: 0 / 0.7307 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.197, allocations: 0 / 0.7307 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1972, allocations: 28.03 kB / 0.7308 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1972, allocations: 0 / 0.7308 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1974, allocations: 23.97 kB / 0.7308 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1974, allocations: 7.984 kB / 0.7308 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000205/0.1976, allocations: 152.1 kB / 0.7309 GB, free: 3.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.1977, allocations: 92.19 kB / 0.731 GB, free: 3.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002332/0.198, allocations: 109.8 kB / 0.7311 GB, free: 3.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.198, allocations: 3.938 kB / 0.7311 GB, free: 3.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003332/0.1983, allocations: 177.3 kB / 0.7313 GB, free: 3.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-06/0.1983, allocations: 4 kB / 0.7313 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1983, allocations: 3.984 kB / 0.7313 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-06/0.1983, allocations: 4 kB / 0.7313 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1984, allocations: 23.92 kB / 0.7313 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1984, allocations: 4 kB / 0.7313 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1986, allocations: 23.92 kB / 0.7314 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1986, allocations: 4 kB / 0.7314 GB, free: 3.41 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.0001119/0.1987, allocations: 192.1 kB / 0.7315 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.1988, allocations: 39.75 kB / 0.7316 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.1993, allocations: 222.5 kB / 0.7318 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1993, allocations: 7.984 kB / 0.7318 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1993, allocations: 4 kB / 0.7318 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1993, allocations: 0 / 0.7318 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.2001, allocations: 0.6078 MB / 0.7324 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2001, allocations: 4 kB / 0.7324 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2002, allocations: 19.98 kB / 0.7324 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2002, allocations: 8.188 kB / 0.7324 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2002, allocations: 7.938 kB / 0.7324 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2002, allocations: 4 kB / 0.7324 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2002, allocations: 0 / 0.7324 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.2007, allocations: 329.6 kB / 0.7328 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.2008, allocations: 51.73 kB / 0.7328 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.2008, allocations: 4 kB / 0.7328 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.201, allocations: 20.03 kB / 0.7328 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2011, allocations: 15.92 kB / 0.7328 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2011, allocations: 4 kB / 0.7328 GB, free: 1.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002437/0.2013, allocations: 251.2 kB / 0.7331 GB, free: 1.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2013, allocations: 4 kB / 0.7331 GB, free: 1.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000554/0.2019, allocations: 195.4 kB / 0.7333 GB, free: 1.352 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.001005/0.2029, allocations: 0.9933 MB / 0.7342 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.2033, allocations: 183.8 kB / 0.7344 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2033, allocations: 0 / 0.7344 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.2035, allocations: 79.89 kB / 0.7345 GB, free: 72 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.2043, allocations: 148.8 kB / 0.7346 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2075, allocations: 2.732 MB / 0.7373 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2079, allocations: 0.7995 MB / 0.7381 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.2081, allocations: 75.08 kB / 0.7382 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2083, allocations: 119.4 kB / 0.7383 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2083, allocations: 0 / 0.7383 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.2477, allocations: 10.3 MB / 0.7483 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.46, allocations: 4.062 kB / 0.7483 GB, free: 2.02 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.100387773942202] Failed to read output from testmodel.py, exit status != 0: 11.56591329490766 11.865844176 11.673335939 Calling exit ...