Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001159/0.001159, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 195.6 kB / 16.53 MB, free: 6.684 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.84 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002315/0.3575, allocations: 1.245 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.3585, allocations: 0.5898 MB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.3585, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.3585, allocations: 3.984 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.3586, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.3591, allocations: 143.4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.3591, allocations: 4 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3592, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.3592, allocations: 7.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.3593, allocations: 15.92 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3593, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3598, allocations: 331.4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.3598, allocations: 3.984 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.3598, allocations: 4 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3601, allocations: 147.9 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3601, allocations: 4 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.891 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.0003748/0.3605, allocations: 349.3 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3605, allocations: 8.031 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.3606, allocations: 4.938 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3607, allocations: 172.2 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3607, allocations: 384 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3607, allocations: 384 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.3608, allocations: 38.25 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3608, allocations: 4.125 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3608, allocations: 3.938 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3609, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.3609, allocations: 7.938 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.361, allocations: 153.7 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.3611, allocations: 22.55 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.3611, allocations: 20.92 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3611, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3612, allocations: 30.56 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.3612, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.3613, allocations: 49.62 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3614, allocations: 51.41 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.3614, allocations: 89.86 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3615, allocations: 29.95 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.3615, allocations: 88.08 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3615, allocations: 7.906 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3616, allocations: 17.7 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3617, allocations: 310.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.3617, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-06/0.3617, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.3618, allocations: 16.86 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3618, allocations: 4.062 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.186e-05/0.3618, allocations: 41.69 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3619, allocations: 8 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3619, allocations: 3.938 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3619, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.362, allocations: 11.94 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003428/0.3624, allocations: 0.5822 MB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.3624, allocations: 4.062 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3624, allocations: 0 / 1.073 GB, free: 5.539 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 8.277e-05/0.3625, allocations: 113.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-06/0.3625, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3626, allocations: 48.75 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3627, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3627, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3627, allocations: 4.031 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.965e-05/0.3628, allocations: 157.6 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3628, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.3629, allocations: 8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3629, allocations: 3.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3629, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003006/0.3632, allocations: 0.5859 MB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3632, allocations: 7.969 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.725e-05/0.3633, allocations: 69.11 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3633, allocations: 77.11 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3633, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.3634, allocations: 3.984 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3634, allocations: 7.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3634, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.3634, allocations: 83.31 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 0 / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001912/0.3636, allocations: 8 kB / 1.074 GB, free: 4.246 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.00017/0.3638, allocations: 118.5 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.364, allocations: 15.98 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.364, allocations: 3.938 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.3641, allocations: 20.14 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3642, allocations: 4.062 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.3646, allocations: 113.9 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3649, allocations: 0.6729 MB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.3649, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.3649, allocations: 7.438 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3649, allocations: 4 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.002653/0.3676, allocations: 445.9 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)