Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [: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.7121/0.7121, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001185/0.001185, allocations: 189.3 kB / 164.4 MB, free: 6.879 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.842/1.842, allocations: 205.1 MB / 399.1 MB, free: 6.16 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.001045/0.001045, allocations: 86.45 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.03e-05, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1914, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5824/0.7739, allocations: 102.2 MB / 0.7208 GB, free: 10.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.7742, allocations: 75.95 kB / 0.7208 GB, free: 10.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.00745/0.7817, allocations: 2.07 MB / 0.7228 GB, free: 8.043 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.7817, allocations: 4 kB / 0.7228 GB, free: 8.039 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.0003509/0.7821, allocations: 324.9 kB / 0.7232 GB, free: 7.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.7821, allocations: 12.03 kB / 0.7232 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.7822, allocations: 8 kB / 0.7232 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.7823, allocations: 163.1 kB / 0.7233 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.7824, allocations: 5.219 kB / 0.7233 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.7824, allocations: 4 kB / 0.7233 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.903e-05/0.7824, allocations: 0 / 0.7233 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.7825, allocations: 29.7 kB / 0.7234 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7825, allocations: 0 / 0.7234 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7825, allocations: 3.984 kB / 0.7234 GB, free: 7.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7826, allocations: 0 / 0.7234 GB, free: 7.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.7828, allocations: 134.2 kB / 0.7235 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.7828, allocations: 26.59 kB / 0.7235 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.7829, allocations: 8.922 kB / 0.7235 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.7831, allocations: 94.12 kB / 0.7236 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.7832, allocations: 46.39 kB / 0.7237 GB, free: 7.035 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.7832, allocations: 0 / 0.7237 GB, free: 7.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005361/0.7837, allocations: 69.66 kB / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.7838, allocations: 55.44 kB / 0.7238 GB, free: 6.895 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7839, allocations: 85 kB / 0.7239 GB, free: 6.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.784, allocations: 33.64 kB / 0.7239 GB, free: 6.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.784, allocations: 84.12 kB / 0.724 GB, free: 6.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.784, allocations: 7.906 kB / 0.724 GB, free: 6.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.784, allocations: 0 / 0.724 GB, free: 6.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7842, allocations: 310.8 kB / 0.7243 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.7842, allocations: 7.938 kB / 0.7243 GB, free: 6.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.7842, allocations: 12.12 kB / 0.7243 GB, free: 6.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.7843, allocations: 4 kB / 0.7243 GB, free: 6.336 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7843, allocations: 0 / 0.7243 GB, free: 6.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.988e-05/0.7844, allocations: 41.69 kB / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7844, allocations: 7.906 kB / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7844, allocations: 0 / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7844, allocations: 4 kB / 0.7244 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.7858, allocations: 143.9 kB / 0.7245 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.7887, allocations: 1.39 MB / 0.7259 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.7888, allocations: 8.016 kB / 0.7259 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.7889, allocations: 4 kB / 0.7259 GB, free: 4.625 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" 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.0001346/0.7891, allocations: 101 kB / 0.726 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.7891, allocations: 3.906 kB / 0.726 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.7891, allocations: 7.406 kB / 0.726 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7891, allocations: 4 kB / 0.726 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.7891, allocations: 0 / 0.726 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7891, allocations: 3.984 kB / 0.726 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.7893, allocations: 134.2 kB / 0.7261 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7893, allocations: 0 / 0.7261 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7906, allocations: 151.8 kB / 0.7263 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7906, allocations: 4 kB / 0.7263 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.7907, allocations: 0 / 0.7263 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.7933, allocations: 1.402 MB / 0.7276 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7933, allocations: 0 / 0.7276 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.912e-05/0.7934, allocations: 68.95 kB / 0.7277 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.7935, allocations: 85.09 kB / 0.7278 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.7935, allocations: 0 / 0.7278 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.7936, allocations: 8.125 kB / 0.7278 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.7936, allocations: 0 / 0.7278 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.7936, allocations: 0 / 0.7278 GB, free: 2.473 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.159e-05/0.7937, allocations: 83.27 kB / 0.7279 GB, free: 2.391 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.7939, allocations: 8 kB / 0.7279 GB, free: 2.383 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.0001794/0.7941, allocations: 99.25 kB / 0.728 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.7959, allocations: 203.9 kB / 0.7282 GB, free: 2.078 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7959, allocations: 0 / 0.7282 GB, free: 2.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.7977, allocations: 211.8 kB / 0.7284 GB, free: 1.871 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.7979, allocations: 7.906 kB / 0.7284 GB, free: 1.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.799, allocations: 175.9 kB / 0.7285 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.7993, allocations: 0.688 MB / 0.7292 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7993, allocations: 0 / 0.7292 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of Templates: time 0.002485/0.8018, allocations: 476.1 kB / 0.7297 GB, free: 0.5234 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)