Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009745/0.0009745, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001095/0.001095, allocations: 173 kB / 23.5 MB, free: 1.051 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 1.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001626/0.001626, allocations: 233 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7866/0.7866, allocations: 138.4 MB / 455.4 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.992e-05, allocations: 6.312 kB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002609/0.002639, allocations: 1.317 MB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000972/0.003611, allocations: 0.5682 MB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.003647, allocations: 0 / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.00367, allocations: 3.938 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.003722, allocations: 3.984 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.004399, allocations: 151.2 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.004479, allocations: 23.86 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.004531, allocations: 0 / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.004578, allocations: 19.97 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.004641, allocations: 4 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004658, allocations: 0 / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.005144, allocations: 271.4 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.005165, allocations: 0 / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.005199, allocations: 11.92 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.005511, allocations: 155.5 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005515, allocations: 0 / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005516, allocations: 0 / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.005522, allocations: 0 / 0.5575 GB, free: 14.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005254/0.006047, allocations: 392.2 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.006102, allocations: 12.75 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.006156, allocations: 8.875 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.006294, allocations: 112.6 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.006309, allocations: 384 / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.006321, allocations: 8.359 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006446, allocations: 42.25 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.006456, allocations: 192 / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.006469, allocations: 4.375 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.006482, allocations: 4.375 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.006525, allocations: 11.94 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.006894, allocations: 263.8 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.007097, allocations: 51.11 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.007129, allocations: 11.69 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.007148, allocations: 4 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.007176, allocations: 41.38 kB / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.007178, allocations: 0 / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.007361, allocations: 61.56 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.007398, allocations: 55.41 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.007486, allocations: 153.9 kB / 0.5587 GB, free: 12.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.0075, allocations: 25.7 kB / 0.5587 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.007552, allocations: 130.9 kB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.007566, allocations: 15.83 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.007606, allocations: 23.38 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.007744, allocations: 496.1 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.007765, allocations: 4 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.007798, allocations: 31.36 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.007851, allocations: 35.31 kB / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007853, allocations: 0 / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.771e-05/0.007951, allocations: 53.64 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.007967, allocations: 8 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.007973, allocations: 3.938 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007987, allocations: 3.938 kB / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.008036, allocations: 15.92 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.008042, allocations: 0 / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.008062, allocations: 4.031 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.00807, allocations: 4 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.008147, allocations: 156.6 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.008174, allocations: 4 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.008315, allocations: 61.72 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008319, allocations: 8.031 kB / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008323, allocations: 0 / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008325, allocations: 0 / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.008463, allocations: 124.5 kB / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008465, allocations: 0 / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.008499, allocations: 15.98 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008502, allocations: 0 / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.008508, allocations: 0 / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.008511, allocations: 3.938 kB / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008512, allocations: 128 / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.008644, allocations: 195.9 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.008653, allocations: 4 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008665, allocations: 0 / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.008714, allocations: 7.938 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.00873, allocations: 3.984 kB / 0.5601 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008735, allocations: 4 kB / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.008775, allocations: 123.2 kB / 0.5602 GB, free: 11.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008775, allocations: 3.938 kB / 0.5602 GB, free: 11.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.009061, allocations: 23.88 kB / 0.5602 GB, free: 11.25 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.009237, allocations: 115.2 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.009335, allocations: 27.67 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009336, allocations: 0 / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.009361, allocations: 23.61 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.009586, allocations: 4 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.009881, allocations: 126.3 kB / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.009922, allocations: 55.36 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.009958, allocations: 15.86 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.009982, allocations: 8.5 kB / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.009983, allocations: 0 / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of Templates: time 0.002324/0.01231, allocations: 0.5301 MB / 0.5611 GB, free: 10.3 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7861045280005783]