Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7972/0.7972, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 179 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 99.61 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 274.2 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-05/5.543e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5009, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.001/5.502, allocations: 1.833 GB / 2.597 GB, free: 216.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/5.502, allocations: 87.89 kB / 2.597 GB, free: 216.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.111/10.61, allocations: 1.43 GB / 4.027 GB, free: 77.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.332e-06/10.61, allocations: 0 / 4.027 GB, free: 77.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000106/10.61, allocations: 39.62 kB / 4.027 GB, free: 77.63 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003787/10.62, allocations: 1.68 MB / 4.029 GB, free: 76.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/10.62, allocations: 12 kB / 4.029 GB, free: 76.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008209/10.62, allocations: 194.1 kB / 4.029 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/10.62, allocations: 0.9567 MB / 4.03 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/10.62, allocations: 122.9 kB / 4.03 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/10.62, allocations: 86.59 kB / 4.03 GB, free: 76.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/10.62, allocations: 0.8905 MB / 4.031 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/10.62, allocations: 7.25 kB / 4.031 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/10.62, allocations: 30.03 kB / 4.031 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/10.62, allocations: 20.38 kB / 4.031 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/10.62, allocations: 475.5 kB / 4.032 GB, free: 76.02 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.00429/10.63, allocations: 4.878 MB / 4.036 GB, free: 72.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/10.63, allocations: 401.3 kB / 4.037 GB, free: 72.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/10.63, allocations: 253 kB / 4.037 GB, free: 72.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/10.63, allocations: 105.3 kB / 4.037 GB, free: 72.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/10.63, allocations: 58.55 kB / 4.037 GB, free: 72.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/10.63, allocations: 0 / 4.037 GB, free: 72.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001188/10.63, allocations: 493.3 kB / 4.038 GB, free: 71.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/10.63, allocations: 404.4 kB / 4.038 GB, free: 71.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/10.63, allocations: 1.062 MB / 4.039 GB, free: 71.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/10.63, allocations: 37.61 kB / 4.039 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/10.63, allocations: 0.551 MB / 4.04 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/10.63, allocations: 112.9 kB / 4.04 GB, free: 71.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/10.63, allocations: 6.5 kB / 4.04 GB, free: 71.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/10.63, allocations: 319.3 kB / 4.04 GB, free: 70.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/10.63, allocations: 81.34 kB / 4.04 GB, free: 70.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/10.63, allocations: 357.6 kB / 4.041 GB, free: 70.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/10.63, allocations: 135.8 kB / 4.041 GB, free: 70.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/10.63, allocations: 0 / 4.041 GB, free: 70.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007692/10.63, allocations: 0.4901 MB / 4.041 GB, free: 70.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003494/10.63, allocations: 1.349 MB / 4.042 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/10.63, allocations: 3.906 kB / 4.042 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/10.63, allocations: 87.38 kB / 4.043 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/10.63, allocations: 75.39 kB / 4.043 GB, free: 68.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/10.63, allocations: 2.306 MB / 4.045 GB, free: 66.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/10.64, allocations: 120.1 kB / 4.045 GB, free: 66.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/10.64, allocations: 30.91 kB / 4.045 GB, free: 66.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/10.64, allocations: 4.656 kB / 4.045 GB, free: 66.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005577/10.64, allocations: 315.2 kB / 4.045 GB, free: 66.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/10.64, allocations: 3.344 kB / 4.045 GB, free: 66.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/10.64, allocations: 77.98 kB / 4.045 GB, free: 66.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/10.64, allocations: 70.11 kB / 4.045 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/10.64, allocations: 2.899 MB / 4.048 GB, free: 63.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009307/10.64, allocations: 117.6 kB / 4.048 GB, free: 63.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/10.64, allocations: 27.45 kB / 4.048 GB, free: 63.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001918/10.64, allocations: 141.7 kB / 4.049 GB, free: 63.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/10.64, allocations: 136.1 kB / 4.049 GB, free: 63.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/10.64, allocations: 390.8 kB / 4.049 GB, free: 63.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/10.64, allocations: 5 kB / 4.049 GB, free: 63.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/10.64, allocations: 6.156 kB / 4.049 GB, free: 63.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/10.64, allocations: 5.062 kB / 4.049 GB, free: 63.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/10.64, allocations: 2.509 MB / 4.052 GB, free: 61.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/10.64, allocations: 6.844 kB / 4.052 GB, free: 61.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/10.64, allocations: 75.17 kB / 4.052 GB, free: 61.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/10.64, allocations: 74.5 kB / 4.052 GB, free: 61.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/10.64, allocations: 15.5 kB / 4.052 GB, free: 61.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007669/10.65, allocations: 2.301 MB / 4.054 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/10.65, allocations: 7.609 kB / 4.054 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/10.65, allocations: 1.047 MB / 4.055 GB, free: 58.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/10.65, allocations: 253.5 kB / 4.055 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/10.65, allocations: 17.09 kB / 4.055 GB, free: 58.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/10.65, allocations: 73.23 kB / 4.055 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/10.65, allocations: 40.2 kB / 4.055 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/10.65, allocations: 24.25 kB / 4.055 GB, free: 58.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009912/10.65, allocations: 0.8362 MB / 4.056 GB, free: 58.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/10.65, allocations: 0 / 4.056 GB, free: 58.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002947/10.65, allocations: 0.7978 MB / 4.057 GB, free: 58.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005138/10.66, allocations: 3.537 MB / 4.06 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001727/10.66, allocations: 0.7278 MB / 4.061 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/10.66, allocations: 4.562 kB / 4.061 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/10.66, allocations: 176.2 kB / 4.061 GB, free: 56.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/10.66, allocations: 0.7482 MB / 4.062 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/10.66, allocations: 1.387 MB / 4.063 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/10.67, allocations: 1.161 MB / 4.064 GB, free: 55.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001489/10.67, allocations: 444.1 kB / 4.065 GB, free: 55.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/10.67, allocations: 53.72 kB / 4.065 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/10.67, allocations: 3.281 kB / 4.065 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.08837/10.76, allocations: 71.06 MB / 4.134 GB, free: 5.727 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)