Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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.7263/0.7263, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001142/0.001142, allocations: 189.2 kB / 164.4 MB, free: 6.895 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.656/1.656, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001037/0.001037, allocations: 101.4 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.627e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5604/0.7641, allocations: 102.3 MB / 0.7209 GB, free: 10.13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.7645, allocations: 83.94 kB / 0.7209 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01061/0.7751, allocations: 3.337 MB / 0.7242 GB, free: 6.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.7752, allocations: 4 kB / 0.7242 GB, free: 6.715 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004158/0.7756, allocations: 338.4 kB / 0.7245 GB, free: 6.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.7757, allocations: 8.031 kB / 0.7245 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.7757, allocations: 0 / 0.7245 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.7759, allocations: 159.1 kB / 0.7247 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.776, allocations: 7.844 kB / 0.7247 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.776, allocations: 4 kB / 0.7247 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.396e-05/0.7761, allocations: 0 / 0.7247 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/0.7761, allocations: 37.64 kB / 0.7247 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7762, allocations: 0 / 0.7247 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7762, allocations: 3.984 kB / 0.7247 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7762, allocations: 0.9375 kB / 0.7247 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.7764, allocations: 134.2 kB / 0.7249 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.7765, allocations: 18.61 kB / 0.7249 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.7765, allocations: 12.92 kB / 0.7249 GB, free: 5.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.7768, allocations: 97.09 kB / 0.725 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.7768, allocations: 42.39 kB / 0.725 GB, free: 5.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 3.717e-06/0.7769, allocations: 3.984 kB / 0.725 GB, free: 5.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007962/0.7777, allocations: 105.6 kB / 0.7251 GB, free: 5.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7777, allocations: 59.44 kB / 0.7252 GB, free: 5.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.7778, allocations: 89 kB / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.7778, allocations: 29.64 kB / 0.7253 GB, free: 5.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.7779, allocations: 80.14 kB / 0.7254 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.7779, allocations: 7.906 kB / 0.7254 GB, free: 5.301 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.7779, allocations: 0 / 0.7254 GB, free: 5.301 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7781, allocations: 310.8 kB / 0.7257 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.7781, allocations: 8 kB / 0.7257 GB, free: 4.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.7781, allocations: 12.11 kB / 0.7257 GB, free: 4.969 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.7782, allocations: 0 / 0.7257 GB, free: 4.969 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7782, allocations: 4 kB / 0.7257 GB, free: 4.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.7e-05/0.7783, allocations: 45.62 kB / 0.7257 GB, free: 4.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7783, allocations: 7.906 kB / 0.7257 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7783, allocations: 4 kB / 0.7258 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7783, allocations: 0 / 0.7258 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.7799, allocations: 215.9 kB / 0.726 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.7834, allocations: 1.493 MB / 0.7274 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.7835, allocations: 16.11 kB / 0.7274 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.7835, allocations: 0 / 0.7274 GB, free: 3.074 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.7837, allocations: 103.4 kB / 0.7275 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.7837, allocations: 7.906 kB / 0.7275 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.7837, allocations: 3.312 kB / 0.7275 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7837, allocations: 0 / 0.7275 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.7837, allocations: 0 / 0.7275 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.7837, allocations: 7.984 kB / 0.7275 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.7839, allocations: 142.1 kB / 0.7277 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7839, allocations: 7.922 kB / 0.7277 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.7855, allocations: 223.8 kB / 0.7279 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7855, allocations: 0 / 0.7279 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.7855, allocations: 0 / 0.7279 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.7885, allocations: 1.5 MB / 0.7294 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7886, allocations: 3.984 kB / 0.7294 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001123/0.7887, allocations: 73.16 kB / 0.7294 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.7887, allocations: 81.09 kB / 0.7295 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.7888, allocations: 0 / 0.7295 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.7889, allocations: 11.98 kB / 0.7295 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.7889, allocations: 3.938 kB / 0.7295 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.7889, allocations: 4 kB / 0.7295 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.151e-05/0.789, allocations: 79.27 kB / 0.7296 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.7892, allocations: 16.12 kB / 0.7296 GB, free: 0.6328 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.7895, allocations: 103.2 kB / 0.7297 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.7916, allocations: 299.7 kB / 0.73 GB, free: 236 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7916, allocations: 0 / 0.73 GB, free: 236 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.7938, allocations: 307.7 kB / 0.7303 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.7939, allocations: 3.906 kB / 0.7303 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.7955, allocations: 255.8 kB / 0.7306 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.7958, allocations: 0.6841 MB / 0.7312 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.7958, allocations: 0 / 0.7312 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.002688/0.7985, allocations: 0.5174 MB / 0.7317 GB, free: 14.45 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)