Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007344/0.007344, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 12.78 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3614, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001998/0.3635, allocations: 0.9789 MB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3647, allocations: 0.6017 MB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3648, allocations: 0 / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.3648, allocations: 4 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.3649, allocations: 0 / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.3655, allocations: 111.6 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.3656, allocations: 11.94 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3656, allocations: 11.92 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.3657, allocations: 0 / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.3657, allocations: 7.938 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3657, allocations: 0 / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.3663, allocations: 343.3 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3664, allocations: 8 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3664, allocations: 25.7 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.3667, allocations: 143.9 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3667, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3667, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.3667, allocations: 0 / 1.076 GB, free: 5.301 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.0004374/0.3672, allocations: 355.5 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3672, allocations: 8.031 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.3673, allocations: 0.9375 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3674, allocations: 160.4 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3674, allocations: 4.375 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3674, allocations: 384 / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3675, allocations: 34.27 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3676, allocations: 192 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3676, allocations: 15.86 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3676, allocations: 0 / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.3676, allocations: 7.938 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3678, allocations: 149.6 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.3679, allocations: 26.59 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.3679, allocations: 4.859 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3679, allocations: 4.047 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.368, allocations: 46.56 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.368, allocations: 0 / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.3681, allocations: 41.58 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3682, allocations: 51.41 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.3683, allocations: 101.8 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3683, allocations: 25.7 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3683, allocations: 80.39 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.3684, allocations: 11.91 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.3684, allocations: 9.719 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3685, allocations: 314.8 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.3685, allocations: 0 / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.3685, allocations: 7.984 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.3686, allocations: 12.86 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3686, allocations: 3.938 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.762e-05/0.3687, allocations: 33.7 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3687, allocations: 12.09 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3687, allocations: 7.875 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3687, allocations: 0 / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3689, allocations: 11.98 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000384/0.3693, allocations: 0.5782 MB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.3693, allocations: 0 / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.3693, allocations: 3.938 kB / 1.078 GB, free: 2.957 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.542e-05/0.3694, allocations: 121.9 kB / 1.078 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.3694, allocations: 0 / 1.078 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.3696, allocations: 44.81 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3696, allocations: 0 / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3696, allocations: 0 / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3696, allocations: 0 / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3697, allocations: 157.6 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3697, allocations: 3.969 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.3698, allocations: 15.98 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3698, allocations: 0 / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3698, allocations: 0 / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003512/0.3702, allocations: 0.5937 MB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3702, allocations: 3.938 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.225e-05/0.3703, allocations: 65.25 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3703, allocations: 77.11 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3704, allocations: 4 kB / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.3704, allocations: 0 / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.3704, allocations: 3.938 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3704, allocations: 0 / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.3705, allocations: 79.28 kB / 1.079 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3705, allocations: 3.938 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002138/0.3707, allocations: 12.11 kB / 1.08 GB, free: 1.656 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.0002342/0.3709, allocations: 111.2 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3712, allocations: 23.98 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3712, allocations: 0 / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.3713, allocations: 11.98 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.3714, allocations: 4 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.3718, allocations: 119.2 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3721, allocations: 0.6731 MB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.3721, allocations: 7.906 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.3721, allocations: 7.438 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3721, allocations: 0 / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of Templates: time 0.002836/0.3749, allocations: 417.7 kB / 1.081 GB, free: 248 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)