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.001309/0.001309, allocations: 95.64 kB / 16.26 MB, free: 6.414 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.001372/0.001372, allocations: 185.1 kB / 17.2 MB, free: 5.953 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.725/0.725, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4006, allocations: 77.92 MB / 0.5672 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01438/0.415, allocations: 15.03 MB / 0.5819 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.4208, allocations: 3.884 MB / 0.5857 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.4215, allocations: 22.84 kB / 0.5857 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.4221, allocations: 197.5 kB / 0.5859 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.424, allocations: 0.6766 MB / 0.5865 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.4254, allocations: 476.1 kB / 0.587 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.4269, allocations: 1.082 MB / 0.588 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.4273, allocations: 283.3 kB / 0.5883 GB, free: 17.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006922/0.428, allocations: 397.1 kB / 0.5887 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.4283, allocations: 259.9 kB / 0.5889 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.4283, allocations: 20.94 kB / 0.589 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4297, allocations: 0.7222 MB / 0.5897 GB, free: 16.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.4298, allocations: 69.73 kB / 0.5897 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.43, allocations: 191 kB / 0.5899 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.431, allocations: 0.7085 MB / 0.5906 GB, free: 16.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.431, allocations: 1.5 kB / 0.5906 GB, free: 16.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.431, allocations: 0 / 0.5906 GB, free: 16.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4311, allocations: 0.6875 kB / 0.5906 GB, free: 16.12 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.001052/0.4321, allocations: 0.7483 MB / 0.5913 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4322, allocations: 10.44 kB / 0.5913 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.4323, allocations: 41.5 kB / 0.5914 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.4331, allocations: 0.4893 MB / 0.5919 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.4332, allocations: 11.27 kB / 0.5919 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.4332, allocations: 20.69 kB / 0.5919 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.4336, allocations: 185.3 kB / 0.5921 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4336, allocations: 0 / 0.5921 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4337, allocations: 6.062 kB / 0.5921 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4337, allocations: 5.344 kB / 0.5921 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.434, allocations: 142.9 kB / 0.5922 GB, free: 14.84 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.001248/0.4353, allocations: 0.8611 MB / 0.5931 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.4356, allocations: 124.7 kB / 0.5932 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4358, allocations: 74.28 kB / 0.5932 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.4361, allocations: 339.3 kB / 0.5936 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4362, allocations: 37.06 kB / 0.5936 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4362, allocations: 0 / 0.5936 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005823/0.4367, allocations: 221.9 kB / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4368, allocations: 57.72 kB / 0.5939 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.4372, allocations: 347.5 kB / 0.5942 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4372, allocations: 31.2 kB / 0.5942 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4373, allocations: 195.4 kB / 0.5944 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.4373, allocations: 48.69 kB / 0.5945 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.4374, allocations: 33.33 kB / 0.5945 GB, free: 12.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.4375, allocations: 342.6 kB / 0.5948 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4376, allocations: 49.44 kB / 0.5949 GB, free: 12.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4378, allocations: 90.44 kB / 0.595 GB, free: 12.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.4381, allocations: 114.7 kB / 0.5951 GB, free: 12.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4381, allocations: 4 kB / 0.5951 GB, free: 12.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003632/0.4385, allocations: 177.4 kB / 0.5952 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4385, allocations: 13.62 kB / 0.5953 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4385, allocations: 0 / 0.5953 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4385, allocations: 1.156 kB / 0.5953 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4387, allocations: 24.14 kB / 0.5953 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4387, allocations: 1.344 kB / 0.5953 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.4389, allocations: 24.53 kB / 0.5953 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.4389, allocations: 5.219 kB / 0.5953 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/0.4392, allocations: 156.7 kB / 0.5955 GB, free: 12.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001573/0.4393, allocations: 86.47 kB / 0.5955 GB, free: 11.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002629/0.4396, allocations: 115.7 kB / 0.5956 GB, free: 11.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.4396, allocations: 0 / 0.5956 GB, free: 11.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003829/0.44, allocations: 188.4 kB / 0.5958 GB, free: 11.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.44, allocations: 4.125 kB / 0.5958 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-06/0.44, allocations: 1.438 kB / 0.5958 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.44, allocations: 5.344 kB / 0.5958 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4402, allocations: 22.33 kB / 0.5959 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.4402, allocations: 1.219 kB / 0.5959 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.4404, allocations: 17.39 kB / 0.5959 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4404, allocations: 3.094 kB / 0.5959 GB, free: 11.79 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 9.754e-05/0.4405, allocations: 192.4 kB / 0.5961 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.4406, allocations: 44.62 kB / 0.5961 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.4411, allocations: 232.4 kB / 0.5963 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4411, allocations: 2.125 kB / 0.5963 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4411, allocations: 0 / 0.5963 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4411, allocations: 0 / 0.5963 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008584/0.442, allocations: 0.6329 MB / 0.5969 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.442, allocations: 1.219 kB / 0.5969 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4421, allocations: 23.83 kB / 0.597 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4421, allocations: 1.25 kB / 0.597 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.4421, allocations: 10.48 kB / 0.597 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4422, allocations: 0.875 kB / 0.597 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4422, allocations: 9.969 kB / 0.597 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.4426, allocations: 310.9 kB / 0.5973 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.4427, allocations: 122.6 kB / 0.5974 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.4428, allocations: 10.34 kB / 0.5974 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.443, allocations: 19.86 kB / 0.5974 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.443, allocations: 13.61 kB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.443, allocations: 8.266 kB / 0.5975 GB, free: 10.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.4433, allocations: 243.6 kB / 0.5977 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4433, allocations: 1.125 kB / 0.5977 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.4439, allocations: 188.2 kB / 0.5979 GB, free: 10.28 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.0004939/0.4444, allocations: 264.7 kB / 0.5981 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.445, allocations: 191.4 kB / 0.5983 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.445, allocations: 4 kB / 0.5983 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.4452, allocations: 80.55 kB / 0.5984 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.446, allocations: 143 kB / 0.5985 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.4468, allocations: 0.5635 MB / 0.5991 GB, free: 9.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.4471, allocations: 0.7982 MB / 0.5998 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4473, allocations: 74.11 kB / 0.5999 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.4474, allocations: 31.44 kB / 0.5999 GB, free: 8.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4474, allocations: 0 / 0.5999 GB, free: 8.68 MB / 446.1 MB Notification: Performance of Templates: time 0.0102/0.4576, allocations: 6.576 MB / 0.6064 GB, free: 2.219 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)