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.8264/0.8264, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001027/0.001027, allocations: 184.4 kB / 173.8 MB, free: 6.102 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.727/1.727, allocations: 205.4 MB / 409 MB, free: 10.48 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.000868/0.0008679, allocations: 99.91 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003211, allocations: 9.219 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 76.77 MB / 0.6353 GB, free: 30.52 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3113, allocations: 103 MB / 0.736 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.3117, allocations: 83.94 kB / 0.736 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00719/0.3189, allocations: 2.406 MB / 0.7384 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3189, allocations: 8 kB / 0.7384 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3189, allocations: 0 / 0.7384 GB, free: 4.836 MB / 0.5105 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.0003808/0.3193, allocations: 331.4 kB / 0.7387 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3193, allocations: 8.031 kB / 0.7387 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3194, allocations: 3.953 kB / 0.7387 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3195, allocations: 171 kB / 0.7389 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3196, allocations: 4 kB / 0.7389 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3196, allocations: 0 / 0.7389 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3201, allocations: 73.59 kB / 0.739 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3201, allocations: 0 / 0.739 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3201, allocations: 7.969 kB / 0.739 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3201, allocations: 0 / 0.739 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.3205, allocations: 51.91 kB / 0.739 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.3207, allocations: 157.6 kB / 0.7392 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3211, allocations: 62.47 kB / 0.7392 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.3213, allocations: 93.16 kB / 0.7393 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3213, allocations: 42.55 kB / 0.7393 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3214, allocations: 3.938 kB / 0.7394 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0008169/0.3222, allocations: 125.6 kB / 0.7395 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3222, allocations: 51.41 kB / 0.7395 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.3223, allocations: 89 kB / 0.7396 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3223, allocations: 25.7 kB / 0.7396 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3224, allocations: 80.14 kB / 0.7397 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3224, allocations: 8.156 kB / 0.7397 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3224, allocations: 0 / 0.7397 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3226, allocations: 314.8 kB / 0.74 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3227, allocations: 15.92 kB / 0.74 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.3227, allocations: 19.98 kB / 0.74 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.3228, allocations: 16.05 kB / 0.7401 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3228, allocations: 0 / 0.7401 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.323, allocations: 61.58 kB / 0.7401 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.323, allocations: 4.031 kB / 0.7401 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3231, allocations: 4 kB / 0.7401 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3231, allocations: 4 kB / 0.7401 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.3244, allocations: 135.8 kB / 0.7403 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.3275, allocations: 1.505 MB / 0.7417 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.3276, allocations: 12.2 kB / 0.7417 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3276, allocations: 3.953 kB / 0.7417 GB, free: 1.031 MB / 0.5105 GB 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 () * Number of clocked 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 9.103e-05/0.3277, allocations: 111.9 kB / 0.7419 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.3277, allocations: 0 / 0.7419 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.3278, allocations: 11.11 kB / 0.7419 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3278, allocations: 0 / 0.7419 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3278, allocations: 4 kB / 0.7419 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3278, allocations: 0 / 0.7419 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3279, allocations: 153.6 kB / 0.742 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3279, allocations: 4 kB / 0.742 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.3292, allocations: 147.8 kB / 0.7422 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3292, allocations: 0 / 0.7422 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3293, allocations: 3.984 kB / 0.7422 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3253/0.6545, allocations: 1.493 MB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.6546, allocations: 15.61 kB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.6549, allocations: 84.58 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.6549, allocations: 82.31 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.6549, allocations: 1.438 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.655, allocations: 5.781 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.655, allocations: 7.641 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.6551, allocations: 0 / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.6551, allocations: 82.8 kB / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6551, allocations: 0 / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002341/0.6553, allocations: 9.188 kB / 0.7439 GB, free: 108.7 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 () * Number of clocked 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.0001591/0.6555, allocations: 104.8 kB / 0.744 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.6569, allocations: 154.8 kB / 0.7441 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6569, allocations: 0 / 0.7441 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6582, allocations: 143.6 kB / 0.7443 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.6583, allocations: 1.75 kB / 0.7443 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.6597, allocations: 228.1 kB / 0.7445 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.6598, allocations: 0.6772 MB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.6599, allocations: 0 / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.6599, allocations: 11.38 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/0.6599, allocations: 1.344 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.002513/0.6624, allocations: 464.7 kB / 0.7456 GB, free: 107.8 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)