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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8127/0.8127, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001164/0.001164, allocations: 176.2 kB / 164.6 MB, free: 11.62 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.715/1.715, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.0009283/0.0009283, allocations: 92.53 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.678e-05, allocations: 3.062 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 76.76 MB / 0.6215 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.3054, allocations: 102.3 MB / 0.7214 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3057, allocations: 87.94 kB / 0.7215 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006812/0.3125, allocations: 2.39 MB / 0.7238 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3125, allocations: 0 / 0.7238 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3125, allocations: 0 / 0.7238 GB, free: 2.152 MB / 0.4948 GB 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.0002928/0.3128, allocations: 330.5 kB / 0.7242 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3129, allocations: 12.03 kB / 0.7242 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3129, allocations: 3.953 kB / 0.7242 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3131, allocations: 167 kB / 0.7243 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3131, allocations: 4 kB / 0.7243 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.3131, allocations: 3.938 kB / 0.7243 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.998e-05/0.3132, allocations: 4 kB / 0.7243 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.314e-05/0.3132, allocations: 33.69 kB / 0.7244 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3133, allocations: 3.984 kB / 0.7244 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3133, allocations: 3.938 kB / 0.7244 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3133, allocations: 3.953 kB / 0.7244 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.3134, allocations: 130.3 kB / 0.7245 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.3135, allocations: 26.56 kB / 0.7245 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.3135, allocations: 4.859 kB / 0.7245 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.3137, allocations: 93.16 kB / 0.7246 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3138, allocations: 42.5 kB / 0.7247 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3138, allocations: 0 / 0.7247 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004669/0.3143, allocations: 65.66 kB / 0.7247 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3143, allocations: 51.41 kB / 0.7248 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.3144, allocations: 93 kB / 0.7249 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3144, allocations: 25.7 kB / 0.7249 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3144, allocations: 80.14 kB / 0.725 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3145, allocations: 3.906 kB / 0.725 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.3145, allocations: 4.156 kB / 0.725 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3146, allocations: 322.8 kB / 0.7253 GB, free: 472 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.3146, allocations: 4 kB / 0.7253 GB, free: 468 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.3147, allocations: 4 kB / 0.7253 GB, free: 464 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.3147, allocations: 4 kB / 0.7253 GB, free: 460 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3147, allocations: 0 / 0.7253 GB, free: 460 kB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.271e-05/0.3148, allocations: 49.62 kB / 0.7253 GB, free: 404 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3148, allocations: 4 kB / 0.7254 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3148, allocations: 4.094 kB / 0.7254 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3148, allocations: 0 / 0.7254 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.316, allocations: 131.8 kB / 0.7255 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.3182, allocations: 1.368 MB / 0.7268 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.3183, allocations: 7.969 kB / 0.7268 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3183, allocations: 3.984 kB / 0.7268 GB, free: 14.77 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with 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.0001319/0.3185, allocations: 113 kB / 0.7269 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.3185, allocations: 0 / 0.7269 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.3185, allocations: 3.75 kB / 0.7269 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3185, allocations: 3.938 kB / 0.7269 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.3185, allocations: 4 kB / 0.7269 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3185, allocations: 0 / 0.7269 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.3186, allocations: 138.2 kB / 0.7271 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3186, allocations: 3.938 kB / 0.7271 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.3198, allocations: 147.8 kB / 0.7272 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3198, allocations: 4 kB / 0.7272 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3198, allocations: 0 / 0.7272 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.3219, allocations: 1.368 MB / 0.7286 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3219, allocations: 0 / 0.7286 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.322, allocations: 69.09 kB / 0.7286 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.322, allocations: 85.19 kB / 0.7287 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.322, allocations: 0 / 0.7287 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.3221, allocations: 7.984 kB / 0.7287 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.3222, allocations: 8 kB / 0.7287 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3222, allocations: 0 / 0.7287 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3222, allocations: 75.28 kB / 0.7288 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3222, allocations: 0 / 0.7288 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002031/0.3224, allocations: 12 kB / 0.7288 GB, free: 12.54 MB / 0.5105 GB 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.0001451/0.3226, allocations: 99.34 kB / 0.7289 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.3236, allocations: 131.9 kB / 0.729 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3236, allocations: 0 / 0.729 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3247, allocations: 139.8 kB / 0.7292 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.3248, allocations: 0 / 0.7292 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.3257, allocations: 159.9 kB / 0.7293 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.326, allocations: 0.6729 MB / 0.73 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.326, allocations: 7.984 kB / 0.73 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.3261, allocations: 11.44 kB / 0.73 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.904e-06/0.3261, allocations: 0 / 0.73 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.002234/0.3283, allocations: 451.5 kB / 0.7304 GB, free: 10.86 MB / 0.5105 GB 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)