Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.87/1.87, allocations: 288.3 MB / 303.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 185 kB / 371.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 106.7 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 11.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00116/0.2229, allocations: 0.965 MB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.2234, allocations: 292.9 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.2234, allocations: 3.938 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.2235, allocations: 0 / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.2235, allocations: 7.984 kB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.2239, allocations: 55.84 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.2239, allocations: 11.98 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.224, allocations: 3.938 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.224, allocations: 11.94 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.224, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2241, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.2243, allocations: 179.7 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.2243, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.2243, allocations: 33.69 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2244, allocations: 48.17 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2245, allocations: 0 / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2245, allocations: 0 / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2245, allocations: 4 kB / 0.981 GB, free: 26.05 MB / 0.6198 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.0002775/0.2248, allocations: 327.4 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2248, allocations: 16.02 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.2248, allocations: 0 / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.2249, allocations: 166.9 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2249, allocations: 3.984 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.225, allocations: 0 / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.483e-05/0.225, allocations: 37.64 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2251, allocations: 7.938 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2251, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2251, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.2251, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.2252, allocations: 157.6 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.2253, allocations: 22.61 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2253, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.2253, allocations: 38.62 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2254, allocations: 0 / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.2255, allocations: 45.62 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.2255, allocations: 51.41 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.2256, allocations: 97.86 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.2256, allocations: 25.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.2256, allocations: 80.14 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2256, allocations: 4.156 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.2256, allocations: 4 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.2257, allocations: 318.8 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.2257, allocations: 0 / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-06/0.2257, allocations: 8 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.457e-05/0.2257, allocations: 3.938 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2257, allocations: 0 / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.621e-05/0.2258, allocations: 41.59 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2258, allocations: 8 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2258, allocations: 4.094 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2259, allocations: 7.969 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.226, allocations: 8 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002301/0.2263, allocations: 0.5821 MB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.2263, allocations: 0 / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2263, allocations: 0 / 0.983 GB, free: 23.78 MB / 0.6198 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.421e-05/0.2264, allocations: 125.8 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.2264, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.563e-05/0.2265, allocations: 40.83 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2265, allocations: 3.984 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2265, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2265, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.97e-05/0.2266, allocations: 157.5 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2266, allocations: 3.938 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.2266, allocations: 12.98 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2266, allocations: 4.031 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2267, allocations: 0 / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001757/0.2268, allocations: 0.5899 MB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2269, allocations: 0 / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.995e-05/0.2269, allocations: 69.2 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.2269, allocations: 77.11 kB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2269, allocations: 0 / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.227, allocations: 4 kB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.227, allocations: 0 / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.227, allocations: 3.984 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.745e-05/0.227, allocations: 83.23 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.227, allocations: 0 / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001994/0.2272, allocations: 11.94 kB / 0.9841 GB, free: 22.48 MB / 0.6198 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 (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.0001429/0.2274, allocations: 119.3 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.2275, allocations: 16 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2275, allocations: 0 / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.2276, allocations: 11.98 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.2277, allocations: 5.688 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.228, allocations: 111.3 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2281, allocations: 0.677 MB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.2282, allocations: 11.92 kB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.2282, allocations: 7.438 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2282, allocations: 0 / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002178/0.2304, allocations: 423.4 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)