Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 61.53 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3687, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002443/0.3711, allocations: 1.314 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3722, allocations: 0.6095 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.3722, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.3722, allocations: 3.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.3723, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.3727, allocations: 111.6 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.5e-05/0.3728, allocations: 11.92 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.3728, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.3729, allocations: 19.92 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.3729, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3729, allocations: 4 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.3734, allocations: 339.3 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.3734, allocations: 3.984 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.3735, allocations: 7.922 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3737, allocations: 136 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3737, allocations: 3.938 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 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.0003622/0.3741, allocations: 359.4 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3741, allocations: 12.03 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.3742, allocations: 0.9375 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3743, allocations: 164.3 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.3743, allocations: 384 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.3743, allocations: 8.312 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.3744, allocations: 34.25 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3744, allocations: 4.172 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3744, allocations: 3.938 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3744, allocations: 4 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.3745, allocations: 4 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3746, allocations: 153.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.3747, allocations: 30.55 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.3747, allocations: 4.859 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3747, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3748, allocations: 38.62 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3748, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.3749, allocations: 49.56 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.3749, allocations: 51.41 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.375, allocations: 93.86 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.375, allocations: 25.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.3751, allocations: 84.14 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3751, allocations: 3.906 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3751, allocations: 21.95 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.3752, allocations: 310.8 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.3752, allocations: 8 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.3753, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.3753, allocations: 12.86 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3753, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.545e-05/0.3754, allocations: 45.62 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3754, allocations: 9.344 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.3754, allocations: 3.938 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3754, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3756, allocations: 8 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003312/0.3759, allocations: 0.5821 MB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.376, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.376, allocations: 4.031 kB / 1.072 GB, free: 6.004 MB / 0.8262 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 (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 7.028e-05/0.376, allocations: 113.9 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.3761, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3762, allocations: 48.75 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3762, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3762, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3762, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3763, allocations: 149.6 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3763, allocations: 3.984 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.3764, allocations: 12.03 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3764, allocations: 4 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3764, allocations: 3.938 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002891/0.3767, allocations: 0.5859 MB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3767, allocations: 7.922 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.943e-05/0.3768, allocations: 61.27 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.3768, allocations: 77.11 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3769, allocations: 4 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.3769, allocations: 3.984 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3769, allocations: 7.938 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3769, allocations: 4 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.3769, allocations: 79.28 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.377, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001958/0.3772, allocations: 8 kB / 1.073 GB, free: 4.711 MB / 0.8262 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 (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.000183/0.3773, allocations: 123.3 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.3775, allocations: 19.92 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3775, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.3776, allocations: 11.98 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3778, allocations: 9.656 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3782, allocations: 112.4 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.3784, allocations: 0.677 MB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.74e-05/0.3784, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.3784, allocations: 7.438 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3784, allocations: 0 / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.002934/0.3814, allocations: 442.8 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)