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.0008597/0.0008598, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.000908/0.0009077, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.344/1.344, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6998/0.6998, allocations: 115.5 MB / 408.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4131, allocations: 77.52 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01293/0.4261, allocations: 14.46 MB / 0.5747 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.4315, allocations: 3.87 MB / 0.5785 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.432, allocations: 20.41 kB / 0.5785 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.4326, allocations: 149.4 kB / 0.5786 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.4343, allocations: 0.6184 MB / 0.5792 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.4356, allocations: 424.4 kB / 0.5796 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.4375, allocations: 1.371 MB / 0.581 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.4379, allocations: 233.9 kB / 0.5812 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.4386, allocations: 378.6 kB / 0.5816 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.439, allocations: 258.6 kB / 0.5818 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.4391, allocations: 11.97 kB / 0.5818 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.4405, allocations: 0.7018 MB / 0.5825 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4406, allocations: 58.08 kB / 0.5826 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.4408, allocations: 205.9 kB / 0.5828 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.4417, allocations: 496.7 kB / 0.5832 GB, free: 21.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4417, allocations: 0 / 0.5832 GB, free: 21.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4417, allocations: 0.5938 kB / 0.5832 GB, free: 21.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4417, allocations: 0.6562 kB / 0.5832 GB, free: 21.21 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.001058/0.4428, allocations: 0.6904 MB / 0.5839 GB, free: 20.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4429, allocations: 15.67 kB / 0.5839 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.4429, allocations: 45.47 kB / 0.584 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.4438, allocations: 499.3 kB / 0.5844 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4438, allocations: 15.27 kB / 0.5845 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.4439, allocations: 17.06 kB / 0.5845 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.4443, allocations: 186.4 kB / 0.5847 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4443, allocations: 0 / 0.5847 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.4444, allocations: 11.08 kB / 0.5847 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4444, allocations: 4.219 kB / 0.5847 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.4447, allocations: 148.8 kB / 0.5848 GB, free: 20.13 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.001113/0.4459, allocations: 0.8714 MB / 0.5857 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.4461, allocations: 125.3 kB / 0.5858 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.4463, allocations: 74.8 kB / 0.5859 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4466, allocations: 335.5 kB / 0.5862 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4466, allocations: 41.27 kB / 0.5862 GB, free: 18.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.4467, allocations: 1.375 kB / 0.5862 GB, free: 18.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006165/0.4473, allocations: 236.6 kB / 0.5864 GB, free: 18.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.4473, allocations: 55.02 kB / 0.5865 GB, free: 18.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.4477, allocations: 347.5 kB / 0.5868 GB, free: 18.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4477, allocations: 26.83 kB / 0.5869 GB, free: 18.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4479, allocations: 201.2 kB / 0.587 GB, free: 18.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.4479, allocations: 39.2 kB / 0.5871 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.4479, allocations: 14.92 kB / 0.5871 GB, free: 18.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.448, allocations: 344.5 kB / 0.5874 GB, free: 18.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4482, allocations: 46.62 kB / 0.5875 GB, free: 18.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.4484, allocations: 101 kB / 0.5876 GB, free: 17.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4487, allocations: 124.9 kB / 0.5877 GB, free: 17.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4487, allocations: 4 kB / 0.5877 GB, free: 17.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003803/0.4491, allocations: 188.5 kB / 0.5879 GB, free: 17.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.4491, allocations: 104.5 kB / 0.588 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4491, allocations: 5.375 kB / 0.588 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4491, allocations: 2.188 kB / 0.588 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4493, allocations: 30.39 kB / 0.588 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4493, allocations: 1.062 kB / 0.588 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.4496, allocations: 31.05 kB / 0.588 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.4496, allocations: 9.062 kB / 0.588 GB, free: 17.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.4496, allocations: 3.906 kB / 0.588 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003099/0.4499, allocations: 117.8 kB / 0.5882 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.4499, allocations: 1.281 kB / 0.5882 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.45, allocations: 1.797 kB / 0.5882 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4501, allocations: 37.88 kB / 0.5882 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.4501, allocations: 4.5 kB / 0.5882 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.4503, allocations: 33.25 kB / 0.5882 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4503, allocations: 4.219 kB / 0.5882 GB, free: 17.66 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.0001263/0.4505, allocations: 229.7 kB / 0.5885 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.4505, allocations: 33.19 kB / 0.5885 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.451, allocations: 234.5 kB / 0.5887 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4511, allocations: 11.31 kB / 0.5887 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4511, allocations: 0 / 0.5887 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4511, allocations: 1.359 kB / 0.5887 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.452, allocations: 0.6487 MB / 0.5894 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.452, allocations: 4.547 kB / 0.5894 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.4521, allocations: 30.55 kB / 0.5894 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4521, allocations: 2.406 kB / 0.5894 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.4521, allocations: 7.266 kB / 0.5894 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4522, allocations: 2.016 kB / 0.5894 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4522, allocations: 1.5 kB / 0.5894 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.4526, allocations: 324.4 kB / 0.5897 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4527, allocations: 137.3 kB / 0.5898 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.4528, allocations: 6.906 kB / 0.5899 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.453, allocations: 20.25 kB / 0.5899 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.4531, allocations: 18.19 kB / 0.5899 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4531, allocations: 5.609 kB / 0.5899 GB, free: 16.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.4533, allocations: 250.5 kB / 0.5901 GB, free: 16.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4533, allocations: 3.938 kB / 0.5901 GB, free: 16.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.4541, allocations: 188.9 kB / 0.5903 GB, free: 16.32 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.000544/0.4546, allocations: 244.4 kB / 0.5905 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.4552, allocations: 215.5 kB / 0.5908 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4552, allocations: 0 / 0.5908 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.4554, allocations: 88.31 kB / 0.5908 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.4563, allocations: 141.1 kB / 0.591 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.4573, allocations: 0.7267 MB / 0.5917 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4575, allocations: 0.7921 MB / 0.5925 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.4576, allocations: 29.38 kB / 0.5925 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4576, allocations: 4 kB / 0.5925 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Templates: time 0.008741/0.4663, allocations: 5.707 MB / 0.5981 GB, free: 12.05 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)