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.0009844/0.0009845, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 185.6 kB / 16.92 MB, free: 6.754 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6875/0.6875, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 14.12 kB / 495.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 77.53 MB / 0.56 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01539/0.1897, allocations: 14.46 MB / 0.5741 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.1953, allocations: 3.873 MB / 0.5779 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.1958, allocations: 19.88 kB / 0.5779 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.1963, allocations: 147.1 kB / 0.578 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1978, allocations: 0.6222 MB / 0.5786 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.199, allocations: 425 kB / 0.579 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.2007, allocations: 1.364 MB / 0.5804 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.2011, allocations: 240.8 kB / 0.5806 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.2018, allocations: 370.3 kB / 0.5809 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.2022, allocations: 262.8 kB / 0.5812 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.2022, allocations: 12 kB / 0.5812 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.2035, allocations: 0.7016 MB / 0.5819 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.2036, allocations: 59.7 kB / 0.582 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.2038, allocations: 204.6 kB / 0.5821 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.2047, allocations: 0.6894 MB / 0.5828 GB, free: 1.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2047, allocations: 0 / 0.5828 GB, free: 1.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2047, allocations: 0 / 0.5828 GB, free: 1.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2047, allocations: 0 / 0.5828 GB, free: 1.586 MB / 446.1 MB 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.001055/0.2058, allocations: 0.6891 MB / 0.5835 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2058, allocations: 8.031 kB / 0.5835 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.2059, allocations: 52.38 kB / 0.5836 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.2068, allocations: 493.9 kB / 0.584 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2068, allocations: 20.33 kB / 0.584 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2068, allocations: 16 kB / 0.5841 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.2072, allocations: 184.1 kB / 0.5842 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2073, allocations: 4 kB / 0.5842 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2073, allocations: 4 kB / 0.5842 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2073, allocations: 4 kB / 0.5842 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3067/0.514, allocations: 147.4 kB / 0.5844 GB, free: 33.05 MB / 446.1 MB 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.001175/0.5153, allocations: 0.8583 MB / 0.5852 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.5155, allocations: 131.1 kB / 0.5853 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5157, allocations: 80.75 kB / 0.5854 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.516, allocations: 337.8 kB / 0.5857 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.516, allocations: 34.48 kB / 0.5858 GB, free: 32.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.516, allocations: 0 / 0.5858 GB, free: 32.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005883/0.5166, allocations: 239.4 kB / 0.586 GB, free: 32.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.5166, allocations: 53.62 kB / 0.5861 GB, free: 31.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.517, allocations: 344.8 kB / 0.5864 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.517, allocations: 31.42 kB / 0.5864 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.5172, allocations: 191.4 kB / 0.5866 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5172, allocations: 38.91 kB / 0.5866 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5173, allocations: 19.16 kB / 0.5867 GB, free: 31.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.5174, allocations: 352 kB / 0.587 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5175, allocations: 52.86 kB / 0.587 GB, free: 31.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.5177, allocations: 91.06 kB / 0.5871 GB, free: 31.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.518, allocations: 134.1 kB / 0.5873 GB, free: 31.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.518, allocations: 0.7812 kB / 0.5873 GB, free: 31.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003715/0.5184, allocations: 190.4 kB / 0.5874 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.5184, allocations: 99.98 kB / 0.5875 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5184, allocations: 0.875 kB / 0.5875 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5184, allocations: 1 kB / 0.5875 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.5186, allocations: 31.17 kB / 0.5876 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5186, allocations: 2.5 kB / 0.5876 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.5188, allocations: 41.03 kB / 0.5876 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.5189, allocations: 5.109 kB / 0.5876 GB, free: 31.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.5189, allocations: 3.781 kB / 0.5876 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000308/0.5192, allocations: 129.6 kB / 0.5877 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.5192, allocations: 1.875 kB / 0.5877 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.5192, allocations: 1.094 kB / 0.5877 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.5193, allocations: 25.95 kB / 0.5878 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5193, allocations: 2.484 kB / 0.5878 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.5195, allocations: 38.73 kB / 0.5878 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5196, allocations: 5.844 kB / 0.5878 GB, free: 31.17 MB / 446.1 MB 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.0001177/0.5197, allocations: 227.3 kB / 0.588 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.5197, allocations: 30.94 kB / 0.5881 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.5203, allocations: 230.6 kB / 0.5883 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5203, allocations: 1.719 kB / 0.5883 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5203, allocations: 1.484 kB / 0.5883 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5203, allocations: 3.297 kB / 0.5883 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.5212, allocations: 0.6473 MB / 0.5889 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5212, allocations: 6.938 kB / 0.5889 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.5214, allocations: 27.2 kB / 0.5889 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5214, allocations: 6.625 kB / 0.589 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5214, allocations: 4.547 kB / 0.589 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5214, allocations: 1.156 kB / 0.589 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5214, allocations: 4.344 kB / 0.589 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.5219, allocations: 331.3 kB / 0.5893 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.522, allocations: 133.1 kB / 0.5894 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.522, allocations: 6.875 kB / 0.5894 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5223, allocations: 23.03 kB / 0.5894 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.5223, allocations: 23.02 kB / 0.5895 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5223, allocations: 8.219 kB / 0.5895 GB, free: 30.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.5226, allocations: 249.8 kB / 0.5897 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5226, allocations: 0 / 0.5897 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.5232, allocations: 188.1 kB / 0.5899 GB, free: 30.16 MB / 446.1 MB 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.0004875/0.5237, allocations: 246.9 kB / 0.5901 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.5243, allocations: 202.2 kB / 0.5903 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5243, allocations: 0.875 kB / 0.5903 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.5245, allocations: 85.47 kB / 0.5904 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/0.5253, allocations: 147.9 kB / 0.5905 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.5262, allocations: 0.6877 MB / 0.5912 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5264, allocations: 0.8022 MB / 0.592 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.5267, allocations: 73.3 kB / 0.5921 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.5267, allocations: 28.84 kB / 0.5921 GB, free: 28.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5267, allocations: 0 / 0.5921 GB, free: 28.8 MB / 446.1 MB Notification: Performance of Templates: time 0.01341/0.5401, allocations: 6.277 MB / 0.5982 GB, free: 28.3 MB / 446.1 MB 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)