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.001272/0.001272, 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.001424/0.001424, allocations: 213.7 kB / 22.25 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.797 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.7998/0.7998, allocations: 134 MB / 446.4 MB, free: 9.926 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.001951/0.001951, allocations: 66.17 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01709/0.1821, allocations: 14.07 MB / 0.7161 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.1881, allocations: 3.626 MB / 0.7196 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.1885, allocations: 27.81 kB / 0.7197 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.1891, allocations: 182.7 kB / 0.7198 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.1908, allocations: 0.7228 MB / 0.7205 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1921, allocations: 494.5 kB / 0.721 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1936, allocations: 1.11 MB / 0.7221 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.194, allocations: 249.7 kB / 0.7223 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.1948, allocations: 0.5022 MB / 0.7228 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.1952, allocations: 242.8 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.1952, allocations: 16 kB / 0.7231 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.196, allocations: 431.2 kB / 0.7235 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.1961, allocations: 71.62 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1962, allocations: 143.2 kB / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.197, allocations: 0.5643 MB / 0.7242 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.197, allocations: 0 / 0.7242 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.197, allocations: 0 / 0.7242 GB, free: 10.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.197, allocations: 0 / 0.7242 GB, free: 10.58 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.0009971/0.198, allocations: 0.648 MB / 0.7249 GB, free: 9.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1981, allocations: 8.031 kB / 0.7249 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/0.1981, allocations: 54.73 kB / 0.7249 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.1982, allocations: 44.66 kB / 0.725 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.199, allocations: 371.5 kB / 0.7253 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.199, allocations: 12.33 kB / 0.7253 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.1991, allocations: 20 kB / 0.7254 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.1995, allocations: 201.9 kB / 0.7256 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1995, allocations: 3.938 kB / 0.7256 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1995, allocations: 11.94 kB / 0.7256 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1995, allocations: 4 kB / 0.7256 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1998, allocations: 132.2 kB / 0.7257 GB, free: 9.004 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.001056/0.2009, allocations: 0.5817 MB / 0.7263 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.2012, allocations: 118.5 kB / 0.7264 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2013, allocations: 68.81 kB / 0.7264 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.2015, allocations: 23.98 kB / 0.7265 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2015, allocations: 42.56 kB / 0.7265 GB, free: 8.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.2015, allocations: 3.938 kB / 0.7265 GB, free: 8.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005661/0.2021, allocations: 217.3 kB / 0.7267 GB, free: 7.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2021, allocations: 51.41 kB / 0.7268 GB, free: 7.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.2025, allocations: 333.7 kB / 0.7271 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.2025, allocations: 33.7 kB / 0.7271 GB, free: 7.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2026, allocations: 196.3 kB / 0.7273 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.2027, allocations: 43.64 kB / 0.7274 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.2028, allocations: 37.7 kB / 0.7274 GB, free: 7.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2029, allocations: 338.8 kB / 0.7277 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2031, allocations: 60.75 kB / 0.7278 GB, free: 6.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.2033, allocations: 242.5 kB / 0.728 GB, free: 6.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.2036, allocations: 113.6 kB / 0.7281 GB, free: 6.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2036, allocations: 0 / 0.7281 GB, free: 6.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003746/0.204, allocations: 185.2 kB / 0.7283 GB, free: 6.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.204, allocations: 4 kB / 0.7283 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.204, allocations: 0 / 0.7283 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.204, allocations: 0 / 0.7283 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2041, allocations: 27.98 kB / 0.7283 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2041, allocations: 4.094 kB / 0.7283 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2043, allocations: 15.86 kB / 0.7283 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2043, allocations: 8 kB / 0.7283 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002248/0.2045, allocations: 156 kB / 0.7285 GB, free: 5.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002482/0.2048, allocations: 250.5 kB / 0.7287 GB, free: 5.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002591/0.2051, allocations: 105.7 kB / 0.7288 GB, free: 5.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.2051, allocations: 0 / 0.7288 GB, free: 5.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003575/0.2054, allocations: 181.2 kB / 0.729 GB, free: 5.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.2054, allocations: 4 kB / 0.729 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/0.2054, allocations: 0 / 0.729 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.2054, allocations: 4 kB / 0.729 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2055, allocations: 23.98 kB / 0.729 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2055, allocations: 7.984 kB / 0.729 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2057, allocations: 8 kB / 0.729 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2057, allocations: 7.984 kB / 0.7291 GB, free: 5.316 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.0001225/0.2058, allocations: 192.1 kB / 0.7292 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.2059, allocations: 39.7 kB / 0.7293 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.2064, allocations: 245.5 kB / 0.7295 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2064, allocations: 4 kB / 0.7295 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2064, allocations: 0 / 0.7295 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2064, allocations: 0 / 0.7295 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.2073, allocations: 0.5857 MB / 0.7301 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2073, allocations: 4 kB / 0.7301 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2074, allocations: 27.98 kB / 0.7301 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2074, allocations: 0 / 0.7301 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2074, allocations: 8.094 kB / 0.7301 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2074, allocations: 0 / 0.7301 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2074, allocations: 128 / 0.7301 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.2079, allocations: 332.3 kB / 0.7304 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.208, allocations: 51.73 kB / 0.7305 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.2081, allocations: 0 / 0.7305 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2082, allocations: 7.984 kB / 0.7305 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2083, allocations: 19.92 kB / 0.7305 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2083, allocations: 8 kB / 0.7305 GB, free: 3.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002398/0.2085, allocations: 239.2 kB / 0.7308 GB, free: 3.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2085, allocations: 0 / 0.7308 GB, free: 3.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004841/0.209, allocations: 143.7 kB / 0.7309 GB, free: 3.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.21, allocations: 0.9292 MB / 0.7318 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.2105, allocations: 183.8 kB / 0.732 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2105, allocations: 0 / 0.732 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.2107, allocations: 75.89 kB / 0.732 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.2114, allocations: 157.8 kB / 0.7322 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.2148, allocations: 2.637 MB / 0.7348 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.215, allocations: 197.6 kB / 0.735 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000219/0.2153, allocations: 69.48 kB / 0.735 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.2154, allocations: 115.6 kB / 0.7351 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.2154, allocations: 0 / 0.7351 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/0.2558, allocations: 10.28 MB / 0.7452 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.15, allocations: 18.11 kB / 0.7452 GB, free: 4.863 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 & /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: 14.785117467865348] Failed to read output from testmodel.py, exit status != 0: 11.25799443013966 11.539714965 11.339916716 Calling exit ...