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.001066/0.001067, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001045/0.001045, allocations: 190.5 kB / 16.25 MB, free: 6.148 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.44 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3761, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00229/0.3784, allocations: 1.314 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.3794, allocations: 0.5899 MB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.3794, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.3794, allocations: 8 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.3795, allocations: 3.984 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.38, allocations: 122.9 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.492e-05/0.38, allocations: 7.938 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.3801, allocations: 3.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.3801, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.3802, allocations: 3.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3802, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.3806, allocations: 347.3 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.3806, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.3807, allocations: 11.94 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3809, allocations: 136 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3809, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3809, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3809, allocations: 0 / 1.07 GB, free: 8.211 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.0004047/0.3814, allocations: 357.2 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3814, allocations: 8.031 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.3814, allocations: 0.9375 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3816, allocations: 180.3 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3816, allocations: 384 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3816, allocations: 384 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.3817, allocations: 38.25 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3817, allocations: 4.125 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3817, allocations: 3.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3817, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.3818, allocations: 7.938 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.3819, allocations: 153.7 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.382, allocations: 22.56 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.382, allocations: 16.86 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.382, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3821, allocations: 30.56 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3821, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.3822, allocations: 41.58 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3823, allocations: 67.52 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.3823, allocations: 89.86 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3823, allocations: 25.7 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.3824, allocations: 80.14 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3824, allocations: 7.906 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3825, allocations: 13.72 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3826, allocations: 314.8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.3826, allocations: 8.109 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.3826, allocations: 4 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.3826, allocations: 16.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3826, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.895e-05/0.3827, allocations: 33.7 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3827, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3827, allocations: 7.938 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3828, allocations: 4 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3829, allocations: 7.984 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003591/0.3833, allocations: 0.59 MB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.3833, allocations: 3.938 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3833, allocations: 0 / 1.072 GB, free: 5.852 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.261e-05/0.3834, allocations: 113.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.3834, allocations: 4.031 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.3835, allocations: 44.92 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3835, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3835, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3836, allocations: 3.984 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.3837, allocations: 157.6 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3837, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.3837, allocations: 11.98 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3838, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3838, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002876/0.3841, allocations: 0.5898 MB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3841, allocations: 3.938 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.892e-05/0.3841, allocations: 65.16 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.3842, allocations: 77.11 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3842, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.3842, allocations: 4.125 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.3842, allocations: 3.938 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3842, allocations: 7.938 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.3843, allocations: 83.2 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3843, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001902/0.3845, allocations: 12 kB / 1.073 GB, free: 4.555 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.0001778/0.3847, allocations: 111.2 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3848, allocations: 24.08 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3848, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.3849, allocations: 12 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.3851, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3854, allocations: 109.9 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3857, allocations: 0.6808 MB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.52e-05/0.3857, allocations: 0 / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.3857, allocations: 7.438 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3857, allocations: 0 / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.002389/0.3881, allocations: 443.3 kB / 1.075 GB, free: 3.121 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)