Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 83.67 kB / 21.81 MB, free: 2.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 173 kB / 25.28 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9388/0.9388, allocations: 177.2 MB / 205.8 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.2 MB / 0.6255 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.7618 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.765e-05, allocations: 2.312 kB / 0.7618 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002908/0.002935, allocations: 1.361 MB / 0.7631 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004209, allocations: 0.5876 MB / 0.7637 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.004243, allocations: 0 / 0.7637 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.004263, allocations: 0 / 0.7637 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.004319, allocations: 3.938 kB / 0.7637 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.00495, allocations: 155.2 kB / 0.7638 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.005002, allocations: 7.938 kB / 0.7638 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.005046, allocations: 4 kB / 0.7638 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.005083, allocations: 3.984 kB / 0.7638 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.005131, allocations: 7.938 kB / 0.7638 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.005142, allocations: 0 / 0.7638 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.005691, allocations: 327.3 kB / 0.7642 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.005713, allocations: 4 kB / 0.7642 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.005732, allocations: 0 / 0.7642 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.006011, allocations: 151.5 kB / 0.7643 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.006014, allocations: 4 kB / 0.7643 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006016, allocations: 0 / 0.7643 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.00602, allocations: 0 / 0.7643 GB, free: 10.19 MB / 0.7292 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.0003476/0.006368, allocations: 252.3 kB / 0.7645 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.006413, allocations: 15.97 kB / 0.7646 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.006441, allocations: 0.9375 kB / 0.7646 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.006543, allocations: 113.7 kB / 0.7647 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006555, allocations: 384 / 0.7647 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.006565, allocations: 384 / 0.7647 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.006e-05/0.006645, allocations: 34.25 kB / 0.7647 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006654, allocations: 4.188 kB / 0.7647 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.00666, allocations: 384 / 0.7647 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.006671, allocations: 384 / 0.7647 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.006686, allocations: 7.938 kB / 0.7647 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.006793, allocations: 53.05 kB / 0.7648 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.00685, allocations: 30.55 kB / 0.7648 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.006866, allocations: 4.859 kB / 0.7648 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.006885, allocations: 0 / 0.7648 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.006914, allocations: 34.62 kB / 0.7648 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.006915, allocations: 3.938 kB / 0.7648 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001227/0.007038, allocations: 45.61 kB / 0.7649 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.007082, allocations: 55.41 kB / 0.7649 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.007146, allocations: 94.72 kB / 0.765 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.007158, allocations: 25.7 kB / 0.765 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.007185, allocations: 84.14 kB / 0.7651 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.007217, allocations: 12.27 kB / 0.7651 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.007247, allocations: 17.72 kB / 0.7652 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007351, allocations: 314.8 kB / 0.7655 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.007361, allocations: 0 / 0.7655 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.007372, allocations: 8.25 kB / 0.7655 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.007405, allocations: 8.859 kB / 0.7655 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.007409, allocations: 0 / 0.7655 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.05e-05/0.00748, allocations: 37.62 kB / 0.7655 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.007497, allocations: 8 kB / 0.7655 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007502, allocations: 0 / 0.7655 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007513, allocations: 0 / 0.7655 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.007659, allocations: 11.98 kB / 0.7655 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003125/0.007971, allocations: 0.5783 MB / 0.7661 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.007998, allocations: 11.95 kB / 0.7661 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.008005, allocations: 4 kB / 0.7661 GB, free: 8.164 MB / 0.7292 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.008069, allocations: 109.8 kB / 0.7662 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.008077, allocations: 4 kB / 0.7662 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.008168, allocations: 40.94 kB / 0.7663 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.008172, allocations: 3.938 kB / 0.7663 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.008174, allocations: 0 / 0.7663 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008177, allocations: 0 / 0.7663 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.8e-05/0.008245, allocations: 69.95 kB / 0.7663 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008247, allocations: 0 / 0.7663 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.008321, allocations: 8 kB / 0.7663 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008323, allocations: 0 / 0.7663 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008329, allocations: 4 kB / 0.7663 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003272/0.008656, allocations: 0.5859 MB / 0.7669 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.008658, allocations: 0 / 0.7669 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.019e-05/0.008718, allocations: 53.14 kB / 0.767 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.008735, allocations: 15.91 kB / 0.767 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.008744, allocations: 8.031 kB / 0.767 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.008757, allocations: 0 / 0.767 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.008771, allocations: 4 kB / 0.767 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.008776, allocations: 0 / 0.767 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.577e-05/0.008792, allocations: 8.859 kB / 0.767 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008792, allocations: 0 / 0.767 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001556/0.008948, allocations: 23.88 kB / 0.767 GB, free: 7.152 MB / 0.7292 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001922/0.00914, allocations: 104.3 kB / 0.7671 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009248, allocations: 20.89 kB / 0.7671 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.009252, allocations: 0 / 0.7671 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.009279, allocations: 16.84 kB / 0.7672 GB, free: 7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.581e-05/0.009344, allocations: 0 / 0.7672 GB, free: 7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.009602, allocations: 112.6 kB / 0.7673 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.009629, allocations: 51.36 kB / 0.7673 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.00965, allocations: 8.125 kB / 0.7673 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.009676, allocations: 47.38 kB / 0.7674 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.009677, allocations: 0 / 0.7674 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of Templates: time 0.001928/0.0116, allocations: 0.6277 MB / 0.768 GB, free: 6.152 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.651979650370777]