Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0009217/0.0009217, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001057/0.001057, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001727/0.001727, allocations: 245.8 kB / 260.5 MB, free: 12.7 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.7352/0.7352, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 1.531 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.343e-05, allocations: 2.969 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001637/0.00165, allocations: 1.348 MB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.002457, allocations: 0.5668 MB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.00248, allocations: 0 / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.0025, allocations: 0.7188 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.002549, allocations: 1.312 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.002997, allocations: 142.3 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.459e-05/0.003052, allocations: 9.094 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.003096, allocations: 6.797 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.003137, allocations: 5.531 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.003183, allocations: 3.562 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.003195, allocations: 0 / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.003628, allocations: 280.6 kB / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.003643, allocations: 0 / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.003658, allocations: 2.203 kB / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.003908, allocations: 155.4 kB / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00391, allocations: 0 / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003911, allocations: 0.6875 kB / 464.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.003916, allocations: 1.094 kB / 464.9 MB, free: 15.45 MB / 426.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.0002726/0.004188, allocations: 254.9 kB / 465.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.004222, allocations: 10 kB / 465.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.004245, allocations: 2.25 kB / 465.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.004326, allocations: 110.2 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.004334, allocations: 384 / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.00434, allocations: 2.062 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.211e-05/0.004402, allocations: 32.52 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00441, allocations: 192 / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.004415, allocations: 0.9375 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.00442, allocations: 6.469 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.115e-05/0.004431, allocations: 10.14 kB / 465.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.546e-05/0.004517, allocations: 62.75 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.004553, allocations: 23.17 kB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.004566, allocations: 9.438 kB / 465.4 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.00458, allocations: 2.031 kB / 465.4 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.004605, allocations: 33.53 kB / 465.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004606, allocations: 0 / 465.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.317e-05/0.004689, allocations: 38.48 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.004714, allocations: 52.56 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.004764, allocations: 100.5 kB / 465.6 MB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.004779, allocations: 26.36 kB / 465.6 MB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.004804, allocations: 82.14 kB / 465.7 MB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.004827, allocations: 9.328 kB / 465.7 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.00485, allocations: 12.97 kB / 465.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.004929, allocations: 322.7 kB / 466 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.004935, allocations: 1.656 kB / 466 MB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.004941, allocations: 1.156 kB / 466.1 MB, free: 14.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.004965, allocations: 15.83 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004967, allocations: 2.469 kB / 466.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.896e-05/0.005006, allocations: 34.25 kB / 466.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005018, allocations: 6.25 kB / 466.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005022, allocations: 1.25 kB / 466.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.005035, allocations: 0.6562 kB / 466.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.005146, allocations: 8.188 kB / 466.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002468/0.005393, allocations: 0.5925 MB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.005404, allocations: 0.875 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.005408, allocations: 0 / 466.7 MB, free: 13.59 MB / 426.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 () * 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 5.106e-05/0.005459, allocations: 113.5 kB / 466.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.005464, allocations: 3.438 kB / 466.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.874e-05/0.005533, allocations: 43.27 kB / 466.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005536, allocations: 6.062 kB / 466.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005538, allocations: 1.281 kB / 466.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00554, allocations: 0.6562 kB / 466.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.905e-05/0.005589, allocations: 66.08 kB / 466.9 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00559, allocations: 0.7812 kB / 466.9 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.005634, allocations: 8.922 kB / 466.9 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.005637, allocations: 8.188 kB / 467 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005641, allocations: 1.781 kB / 467 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001996/0.005841, allocations: 0.582 MB / 467.5 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005842, allocations: 0 / 467.5 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.201e-05/0.005884, allocations: 57.75 kB / 467.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.005894, allocations: 9.938 kB / 467.6 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.0059, allocations: 1.125 kB / 467.6 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.005908, allocations: 3.656 kB / 467.6 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.00592, allocations: 4.641 kB / 467.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.005923, allocations: 2.438 kB / 467.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.705e-06/0.005931, allocations: 6.812 kB / 467.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005931, allocations: 1.094 kB / 467.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.006041, allocations: 7.438 kB / 467.6 MB, free: 12.68 MB / 426.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 (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.0001117/0.006153, allocations: 95.98 kB / 467.7 MB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.006247, allocations: 19.09 kB / 467.7 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006249, allocations: 1.188 kB / 467.7 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.006285, allocations: 17.27 kB / 467.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.79e-05/0.006343, allocations: 6.344 kB / 467.8 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.006548, allocations: 106 kB / 467.9 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.006575, allocations: 53.69 kB / 467.9 MB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.006588, allocations: 1.734 kB / 467.9 MB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.006612, allocations: 51 kB / 468 MB, free: 12.36 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006613, allocations: 0 / 468 MB, free: 12.36 MB / 426.7 MB Notification: Performance of Templates: time 0.002386/0.008998, allocations: 0.5474 MB / 468.5 MB, free: 12.27 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5340773379430175]