Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.00131, allocations: 183.5 kB / 326.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 94.31 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.000498, allocations: 15.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1928, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001391/0.1942, allocations: 0.9778 MB / 0.9005 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.1952, allocations: 0.5427 MB / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.1953, allocations: 0 / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1953, allocations: 0 / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.1954, allocations: 7.875 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.1959, allocations: 121.6 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.196, allocations: 7.984 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.196, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1961, allocations: 7.938 kB / 0.9011 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.1961, allocations: 4 kB / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1961, allocations: 0 / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.1968, allocations: 339.3 kB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.1968, allocations: 4 kB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.1968, allocations: 25.7 kB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.197, allocations: 96.09 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1971, allocations: 4 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1971, allocations: 0 / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1971, allocations: 0 / 0.9016 GB, free: 63.38 MB / 0.6042 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.0003115/0.1974, allocations: 343.4 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1974, allocations: 15.97 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.1975, allocations: 0.9375 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.1976, allocations: 164.4 kB / 0.9021 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1976, allocations: 384 / 0.9021 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1976, allocations: 4.312 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.737e-05/0.1977, allocations: 38.25 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1977, allocations: 192 / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1978, allocations: 3.938 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1978, allocations: 0 / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.1978, allocations: 8 kB / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1979, allocations: 153.7 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.198, allocations: 18.58 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.198, allocations: 12.86 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1981, allocations: 0 / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1981, allocations: 34.56 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.1981, allocations: 4 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.1983, allocations: 41.62 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.1983, allocations: 51.41 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.1984, allocations: 97.86 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.1984, allocations: 25.7 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.608e-05/0.1984, allocations: 80.14 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1984, allocations: 11.84 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.1984, allocations: 0 / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.1985, allocations: 319.1 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.1985, allocations: 7.922 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.1985, allocations: 4 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.1986, allocations: 4 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1986, allocations: 3.938 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.037e-05/0.1987, allocations: 37.7 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1987, allocations: 5.562 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1987, allocations: 4 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1987, allocations: 4.031 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.1989, allocations: 15.98 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002856/0.1992, allocations: 0.5821 MB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.1993, allocations: 3.906 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1993, allocations: 4.031 kB / 0.9036 GB, free: 61.07 MB / 0.6042 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 5.982e-05/0.1994, allocations: 113.7 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1994, allocations: 8.078 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1995, allocations: 40.83 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1995, allocations: 4 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.1996, allocations: 81.09 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1996, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.1996, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.1996, allocations: 3.938 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002055/0.1999, allocations: 137.8 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001151/0.2, allocations: 214.8 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.366e-05/0.2, allocations: 4.031 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.2001, allocations: 79.22 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Backend: time 7.52e-07/0.2001, allocations: 4.219 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007236/0.2008, allocations: 162.3 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004046/0.2012, allocations: 0.5667 MB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.004114/0.2053, allocations: 1.076 MB / 0.906 GB, free: 58.5 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)