Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 119.1 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 188.7 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7609/0.7609, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.75 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01924/0.1761, allocations: 15.03 MB / 0.6474 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006343/0.1825, allocations: 3.89 MB / 0.6512 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006896/0.1832, allocations: 27.88 kB / 0.6512 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.184, allocations: 190.7 kB / 0.6514 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.1869, allocations: 0.7037 MB / 0.6521 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1887, allocations: 484 kB / 0.6525 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.1909, allocations: 1.091 MB / 0.6536 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.1916, allocations: 277.5 kB / 0.6539 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.1925, allocations: 418.4 kB / 0.6543 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.193, allocations: 262.8 kB / 0.6545 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.1931, allocations: 24 kB / 0.6545 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.1946, allocations: 0.7212 MB / 0.6552 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1947, allocations: 71.64 kB / 0.6553 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.195, allocations: 187 kB / 0.6555 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.1965, allocations: 0.7128 MB / 0.6562 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1965, allocations: 4 kB / 0.6562 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1965, allocations: 0 / 0.6562 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.1965, allocations: 0 / 0.6562 GB, free: 12.29 MB / 0.4981 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.001359/0.1979, allocations: 0.7513 MB / 0.6569 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1979, allocations: 12.03 kB / 0.6569 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1981, allocations: 40.47 kB / 0.657 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1992, allocations: 0.5134 MB / 0.6575 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1992, allocations: 16.33 kB / 0.6575 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.1993, allocations: 16 kB / 0.6575 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.1997, allocations: 176.2 kB / 0.6577 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1997, allocations: 0 / 0.6577 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1997, allocations: 8 kB / 0.6577 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1998, allocations: 4 kB / 0.6577 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2001, allocations: 140.2 kB / 0.6578 GB, free: 10.53 MB / 0.4981 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.001205/0.2013, allocations: 0.8644 MB / 0.6587 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.2016, allocations: 118.6 kB / 0.6588 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2018, allocations: 68.81 kB / 0.6588 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.2021, allocations: 336.4 kB / 0.6592 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2021, allocations: 42.5 kB / 0.6592 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.2022, allocations: 0 / 0.6592 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005883/0.2028, allocations: 213.1 kB / 0.6594 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2028, allocations: 55.41 kB / 0.6595 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.2032, allocations: 345.7 kB / 0.6598 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.2032, allocations: 29.7 kB / 0.6598 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2034, allocations: 204.2 kB / 0.66 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.2034, allocations: 35.47 kB / 0.6601 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.2035, allocations: 41.55 kB / 0.6601 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2036, allocations: 346.8 kB / 0.6604 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2038, allocations: 48.83 kB / 0.6605 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.204, allocations: 96.17 kB / 0.6606 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.2043, allocations: 113.7 kB / 0.6607 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2043, allocations: 3.938 kB / 0.6607 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004047/0.2047, allocations: 169.2 kB / 0.6608 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2047, allocations: 9.969 kB / 0.6608 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2047, allocations: 7.938 kB / 0.6609 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2048, allocations: 4 kB / 0.6609 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2049, allocations: 28.03 kB / 0.6609 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.2049, allocations: 8 kB / 0.6609 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2051, allocations: 15.92 kB / 0.6609 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2052, allocations: 4 kB / 0.6609 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/0.2054, allocations: 156.1 kB / 0.6611 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/0.2056, allocations: 92.89 kB / 0.6611 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002509/0.2058, allocations: 113.7 kB / 0.6613 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.2059, allocations: 3.938 kB / 0.6613 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000365/0.2062, allocations: 169.1 kB / 0.6614 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.2062, allocations: 12 kB / 0.6614 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.2063, allocations: 0 / 0.6614 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.2063, allocations: 3.938 kB / 0.6614 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2064, allocations: 27.92 kB / 0.6615 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.2064, allocations: 0 / 0.6615 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.2066, allocations: 20.06 kB / 0.6615 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2066, allocations: 7.984 kB / 0.6615 GB, free: 6.461 MB / 0.4981 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.0001105/0.2067, allocations: 192.3 kB / 0.6617 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.2068, allocations: 39.47 kB / 0.6617 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.2073, allocations: 228.7 kB / 0.6619 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2073, allocations: 0 / 0.6619 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2073, allocations: 0 / 0.6619 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2073, allocations: 3.984 kB / 0.6619 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.2083, allocations: 0.6397 MB / 0.6626 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2083, allocations: 0 / 0.6626 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2084, allocations: 27.92 kB / 0.6626 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2084, allocations: 96 / 0.6626 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2084, allocations: 11.94 kB / 0.6626 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2085, allocations: 0 / 0.6626 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2085, allocations: 0 / 0.6626 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.2089, allocations: 325.5 kB / 0.6629 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2091, allocations: 120.7 kB / 0.663 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.2091, allocations: 7.984 kB / 0.663 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2094, allocations: 15.98 kB / 0.663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2094, allocations: 11.98 kB / 0.6631 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2094, allocations: 4 kB / 0.6631 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002642/0.2097, allocations: 251.2 kB / 0.6633 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2097, allocations: 0 / 0.6633 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006042/0.2103, allocations: 195.5 kB / 0.6635 GB, free: 4.301 MB / 0.4981 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.0005825/0.2109, allocations: 239.5 kB / 0.6637 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.2115, allocations: 199.6 kB / 0.6639 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2115, allocations: 0 / 0.6639 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.2117, allocations: 88.12 kB / 0.664 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.2125, allocations: 146.2 kB / 0.6641 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2136, allocations: 0.5767 MB / 0.6647 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.214, allocations: 0.7918 MB / 0.6655 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.214, allocations: 31.44 kB / 0.6655 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.214, allocations: 0 / 0.6655 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.009657/0.2237, allocations: 5.793 MB / 0.6711 GB, free: 12.45 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)