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.573/1.573, allocations: 285.4 MB / 298 MB, free: 5.996 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.0009642/0.0009641, allocations: 172.9 kB / 366.4 MB, free: 2.102 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.267/1.267, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 99.97 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5463, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.7151, allocations: 138.3 MB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.7154, allocations: 75.95 kB / 1.106 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006699/0.7221, allocations: 2.287 MB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7222, allocations: 0 / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7222, allocations: 0 / 1.108 GB, free: 11.16 MB / 0.7136 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.000239/0.7224, allocations: 327.7 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7225, allocations: 8.031 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.7225, allocations: 4 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.7226, allocations: 163 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7226, allocations: 0.9688 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.7226, allocations: 0 / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.364e-05/0.7227, allocations: 41.09 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.7227, allocations: 0 / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7228, allocations: 0.5312 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.7228, allocations: 5.094 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.7228, allocations: 4 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.7229, allocations: 158.1 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/0.723, allocations: 23.28 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.723, allocations: 18.14 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.7231, allocations: 0 / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.7231, allocations: 30.56 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7231, allocations: 3.938 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001125/0.7232, allocations: 39.98 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7232, allocations: 51.41 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.7233, allocations: 93 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.7233, allocations: 25.7 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.7234, allocations: 85 kB / 1.109 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.7234, allocations: 7.906 kB / 1.109 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.7234, allocations: 2.312 kB / 1.109 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.7235, allocations: 310.8 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.7235, allocations: 0 / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.7235, allocations: 8 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.52e-05/0.7236, allocations: 2.469 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7236, allocations: 7.953 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.269e-05/0.7236, allocations: 45.53 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7237, allocations: 4 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7237, allocations: 0 / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.7237, allocations: 0 / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.7238, allocations: 11.53 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/0.7242, allocations: 0.5782 MB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.7242, allocations: 8.016 kB / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.7242, allocations: 3.953 kB / 1.11 GB, free: 8.91 MB / 0.7136 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 () * 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.787e-05/0.7243, allocations: 105.3 kB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.7243, allocations: 4 kB / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-05/0.7244, allocations: 51.66 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7244, allocations: 4 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7244, allocations: 0 / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7244, allocations: 0 / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.7245, allocations: 153.6 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7245, allocations: 0 / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.7246, allocations: 13.8 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7246, allocations: 0 / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.7246, allocations: 0 / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002644/0.7249, allocations: 0.586 MB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7249, allocations: 3.953 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.584e-05/0.725, allocations: 69.06 kB / 1.111 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.725, allocations: 81.09 kB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.725, allocations: 8.062 kB / 1.111 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.7251, allocations: 0 / 1.111 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.7251, allocations: 7.953 kB / 1.111 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7251, allocations: 7.984 kB / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.7251, allocations: 75.28 kB / 1.111 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7251, allocations: 0 / 1.111 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001915/0.7253, allocations: 8 kB / 1.111 GB, free: 7.625 MB / 0.7136 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 () * 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.0001642/0.7255, allocations: 120.8 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.7256, allocations: 15.94 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7257, allocations: 0 / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.7257, allocations: 15.98 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.091e-05/0.7258, allocations: 4 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.726, allocations: 44.03 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.7262, allocations: 0.677 MB / 1.112 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.7262, allocations: 8.125 kB / 1.112 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.7263, allocations: 11.38 kB / 1.112 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.7263, allocations: 1.688 kB / 1.112 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of Templates: time 0.002224/0.7285, allocations: 428 kB / 1.113 GB, free: 6.297 MB / 0.7136 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)