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.7386/0.7386, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 176.8 kB / 169.7 MB, free: 1.734 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.888/1.888, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.001028/0.001028, allocations: 78.5 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.666e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1851, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.638/0.8232, allocations: 103 MB / 0.7287 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.8236, allocations: 88.05 kB / 0.7288 GB, free: 9.961 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007354/0.8309, allocations: 2.398 MB / 0.7311 GB, free: 7.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.821e-06/0.831, allocations: 0 / 0.7311 GB, free: 7.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.831, allocations: 3.938 kB / 0.7311 GB, free: 7.906 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.0003641/0.8314, allocations: 326.5 kB / 0.7314 GB, free: 7.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.961e-05/0.8315, allocations: 12.03 kB / 0.7315 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.8315, allocations: 3.953 kB / 0.7315 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.8317, allocations: 159.1 kB / 0.7316 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.8317, allocations: 4 kB / 0.7316 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8317, allocations: 0 / 0.7316 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.8322, allocations: 64.72 kB / 0.7317 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.8322, allocations: 4 kB / 0.7317 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8323, allocations: 3.938 kB / 0.7317 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.8323, allocations: 4 kB / 0.7317 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.8326, allocations: 46.72 kB / 0.7317 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.8328, allocations: 153.2 kB / 0.7319 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.8332, allocations: 54.48 kB / 0.7319 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.8332, allocations: 12.86 kB / 0.7319 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.8335, allocations: 97.08 kB / 0.732 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.8335, allocations: 30.56 kB / 0.7321 GB, free: 6.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.8335, allocations: 0 / 0.7321 GB, free: 6.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006929/0.8342, allocations: 104.4 kB / 0.7322 GB, free: 6.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.8343, allocations: 55.22 kB / 0.7322 GB, free: 6.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.8344, allocations: 93.03 kB / 0.7323 GB, free: 6.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.8345, allocations: 25.7 kB / 0.7323 GB, free: 6.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.8345, allocations: 80.14 kB / 0.7324 GB, free: 6.406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.8346, allocations: 4.531 kB / 0.7324 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.8346, allocations: 4 kB / 0.7324 GB, free: 6.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8348, allocations: 317.9 kB / 0.7327 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.8348, allocations: 4 kB / 0.7327 GB, free: 6.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.8348, allocations: 11.06 kB / 0.7327 GB, free: 6.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.8348, allocations: 3.984 kB / 0.7327 GB, free: 6.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8349, allocations: 0 / 0.7327 GB, free: 6.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.455e-05/0.8349, allocations: 41.52 kB / 0.7328 GB, free: 6.023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.835, allocations: 4 kB / 0.7328 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.835, allocations: 11.92 kB / 0.7328 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.835, allocations: 0 / 0.7328 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.8362, allocations: 135.6 kB / 0.7329 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.8389, allocations: 1.408 MB / 0.7343 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.839, allocations: 7.984 kB / 0.7343 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.839, allocations: 4 kB / 0.7343 GB, free: 4.352 MB / 490.7 MB 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.0001095/0.8392, allocations: 104.9 kB / 0.7344 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.8392, allocations: 6.781 kB / 0.7344 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.8392, allocations: 7.109 kB / 0.7344 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8392, allocations: 4 kB / 0.7344 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.8392, allocations: 4.062 kB / 0.7344 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8392, allocations: 0 / 0.7344 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8394, allocations: 157 kB / 0.7346 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8394, allocations: 0 / 0.7346 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.8406, allocations: 139.8 kB / 0.7347 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8406, allocations: 3.984 kB / 0.7347 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8406, allocations: 3.25 kB / 0.7347 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.8431, allocations: 1.428 MB / 0.7361 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8431, allocations: 0 / 0.7361 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.8432, allocations: 72.3 kB / 0.7362 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.8433, allocations: 77.11 kB / 0.7363 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.8433, allocations: 0 / 0.7363 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.8434, allocations: 7.75 kB / 0.7363 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.8434, allocations: 8.078 kB / 0.7363 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.8434, allocations: 4 kB / 0.7363 GB, free: 2.148 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.8435, allocations: 75.28 kB / 0.7363 GB, free: 2.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8435, allocations: 0 / 0.7363 GB, free: 2.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.8437, allocations: 12 kB / 0.7364 GB, free: 2.062 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.0001768/0.8439, allocations: 106.9 kB / 0.7365 GB, free: 1.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.845, allocations: 131.9 kB / 0.7366 GB, free: 1.824 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.845, allocations: 0 / 0.7366 GB, free: 1.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.846, allocations: 139.7 kB / 0.7367 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.8462, allocations: 12.36 kB / 0.7367 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.8471, allocations: 157.6 kB / 0.7369 GB, free: 1.512 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.8475, allocations: 0.677 MB / 0.7375 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.8475, allocations: 3.938 kB / 0.7375 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.8475, allocations: 7.438 kB / 0.7376 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8475, allocations: 0 / 0.7376 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Templates: time 0.002591/0.8501, allocations: 478.3 kB / 0.738 GB, free: 376 kB / 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)