Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6786/0.6786, allocations: 127.4 MB / 134.6 MB, free: 4.129 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 185.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 90.55 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.236e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/5.643, allocations: 2.141 GB / 2.762 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/5.643, allocations: 85.31 kB / 2.762 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.636/11.28, allocations: 1.406 GB / 4.169 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002854/11.28, allocations: 44.16 kB / 4.169 GB, free: 64.23 MB / 0.6823 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.007212/11.29, allocations: 1.663 MB / 4.17 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/11.29, allocations: 10.03 kB / 4.17 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/11.29, allocations: 203 kB / 4.171 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/11.29, allocations: 0.964 MB / 4.172 GB, free: 63.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/11.29, allocations: 97.55 kB / 4.172 GB, free: 63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/11.29, allocations: 52.75 kB / 4.172 GB, free: 63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001284/11.29, allocations: 429 kB / 4.172 GB, free: 63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/11.3, allocations: 0.6919 MB / 4.173 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/11.3, allocations: 3.844 kB / 4.173 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/11.3, allocations: 0 / 4.173 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/11.3, allocations: 20.16 kB / 4.173 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006596/11.3, allocations: 3.773 MB / 4.176 GB, free: 60.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/11.3, allocations: 313.5 kB / 4.177 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/11.3, allocations: 211.3 kB / 4.177 GB, free: 60.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/11.3, allocations: 110.5 kB / 4.177 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/11.3, allocations: 47.88 kB / 4.177 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.755e-06/11.3, allocations: 0.7188 kB / 4.177 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.007777/11.31, allocations: 1.137 MB / 4.178 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/11.31, allocations: 241.8 kB / 4.178 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/11.31, allocations: 0.6393 MB / 4.179 GB, free: 59.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/11.31, allocations: 28.17 kB / 4.179 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/11.31, allocations: 385 kB / 4.179 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/11.32, allocations: 108.3 kB / 4.18 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/11.32, allocations: 0 / 4.18 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001253/11.32, allocations: 317.6 kB / 4.18 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/11.32, allocations: 108.8 kB / 4.18 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/11.32, allocations: 362.8 kB / 4.18 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/11.32, allocations: 151.5 kB / 4.18 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/11.32, allocations: 0 / 4.18 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.005716/11.32, allocations: 0.9398 MB / 4.181 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004388/11.32, allocations: 1.057 MB / 4.182 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/11.32, allocations: 3.656 kB / 4.182 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/11.32, allocations: 125.8 kB / 4.183 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/11.33, allocations: 409.7 kB / 4.183 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/11.33, allocations: 2.709 MB / 4.186 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/11.33, allocations: 124.1 kB / 4.186 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/11.33, allocations: 27.45 kB / 4.186 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/11.33, allocations: 3.531 kB / 4.186 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007638/11.33, allocations: 269.6 kB / 4.186 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/11.33, allocations: 3.938 kB / 4.186 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/11.33, allocations: 63.72 kB / 4.186 GB, free: 55.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/11.33, allocations: 67.27 kB / 4.186 GB, free: 55.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/11.34, allocations: 2.783 MB / 4.189 GB, free: 52.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/11.34, allocations: 69.86 kB / 4.189 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/11.34, allocations: 25.92 kB / 4.189 GB, free: 52.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0003134/11.34, allocations: 122.6 kB / 4.189 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/11.34, allocations: 101.8 kB / 4.189 GB, free: 52.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/11.34, allocations: 89.86 kB / 4.189 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/11.34, allocations: 3.469 kB / 4.189 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/11.34, allocations: 3.219 kB / 4.189 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/11.34, allocations: 3.141 kB / 4.189 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/11.35, allocations: 1.962 MB / 4.191 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/11.35, allocations: 3.875 kB / 4.191 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/11.35, allocations: 425.7 kB / 4.192 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/11.35, allocations: 107 kB / 4.192 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/11.35, allocations: 7.594 kB / 4.192 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/11.36, allocations: 6.761 MB / 4.198 GB, free: 46.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/11.36, allocations: 6.688 kB / 4.198 GB, free: 46.52 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004964/11.37, allocations: 1.304 MB / 4.2 GB, free: 45.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/11.37, allocations: 171.7 kB / 4.2 GB, free: 45.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/11.37, allocations: 6.938 kB / 4.2 GB, free: 45.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/11.37, allocations: 107.1 kB / 4.2 GB, free: 45.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/11.37, allocations: 32.16 kB / 4.2 GB, free: 45.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/11.37, allocations: 21.23 kB / 4.2 GB, free: 45.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009451/11.37, allocations: 0.5014 MB / 4.2 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004109/11.38, allocations: 0.7603 MB / 4.201 GB, free: 45.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.007274/11.38, allocations: 3.977 MB / 4.205 GB, free: 43.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006262/11.39, allocations: 1.193 MB / 4.206 GB, free: 43.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/11.39, allocations: 6.5 kB / 4.206 GB, free: 43.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/11.39, allocations: 0.914 MB / 4.207 GB, free: 43.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/11.4, allocations: 410.2 kB / 4.207 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/11.4, allocations: 1.395 MB / 4.209 GB, free: 42.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/11.4, allocations: 1.218 MB / 4.21 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of SimCode: time 1.542e-06/11.4, allocations: 2.531 kB / 4.21 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of Templates: time 0.06838/11.47, allocations: 39.1 MB / 4.248 GB, free: 39.37 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)