Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001073/0.001073, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001103/0.001103, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 87.86 kB / 0.6821 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.372, allocations: 86.98 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002054/0.3741, allocations: 1.248 MB / 0.7683 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.375, allocations: 0.5855 MB / 0.7688 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.375, allocations: 4 kB / 0.7688 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3751, allocations: 3.938 kB / 0.7688 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.3751, allocations: 3.984 kB / 0.7689 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.3756, allocations: 141.4 kB / 0.769 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.3756, allocations: 15.86 kB / 0.769 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.3757, allocations: 0 / 0.769 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.3757, allocations: 4 kB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.3757, allocations: 0 / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3757, allocations: 4 kB / 0.769 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.3762, allocations: 343.3 kB / 0.7693 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.3762, allocations: 0 / 0.7693 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.3763, allocations: 11.94 kB / 0.7693 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3765, allocations: 139.4 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3765, allocations: 4 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3765, allocations: 0 / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3765, allocations: 3.938 kB / 0.7695 GB, free: 1.301 MB / 0.5294 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.0003603/0.3769, allocations: 354 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3769, allocations: 11.97 kB / 0.7698 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.377, allocations: 0.9375 kB / 0.7698 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3771, allocations: 164.3 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3771, allocations: 4.375 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3771, allocations: 384 / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.3772, allocations: 38.27 kB / 0.77 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3772, allocations: 4.172 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3772, allocations: 3.938 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3772, allocations: 0 / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.3773, allocations: 4 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.3774, allocations: 145.7 kB / 0.7702 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.3775, allocations: 30.53 kB / 0.7702 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.3775, allocations: 8.859 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3775, allocations: 8.062 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3775, allocations: 30.56 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3775, allocations: 0 / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.3777, allocations: 37.64 kB / 0.7703 GB, free: 312 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3777, allocations: 55.34 kB / 0.7703 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.3778, allocations: 109.9 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3778, allocations: 25.7 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.3778, allocations: 80.14 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3779, allocations: 11.89 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.3779, allocations: 13.72 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.378, allocations: 310.8 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.378, allocations: 7.938 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.3781, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.3781, allocations: 21.05 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3781, allocations: 0 / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.784e-05/0.3782, allocations: 37.64 kB / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3782, allocations: 7.938 kB / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.3782, allocations: 0 / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3782, allocations: 3.938 kB / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3784, allocations: 11.98 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003393/0.3787, allocations: 0.5822 MB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.3787, allocations: 8.031 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3787, allocations: 0 / 0.7715 GB, free: 14.95 MB / 0.545 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.58e-05/0.3788, allocations: 112.2 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.3788, allocations: 3.984 kB / 0.7716 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.382e-05/0.3789, allocations: 48.75 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.379, allocations: 4 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.379, allocations: 4.125 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.379, allocations: 85 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.379, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.379, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3791, allocations: 7.938 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001696/0.3792, allocations: 129.8 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001308/0.3794, allocations: 222.8 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.804e-05/0.3794, allocations: 4.031 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.3794, allocations: 79.27 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Backend: time 1.91e-07/0.3794, allocations: 4 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.38, allocations: 146.3 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004343/0.3804, allocations: 0.5619 MB / 0.7729 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Templates: time 0.003155/0.3836, allocations: 1.103 MB / 0.774 GB, free: 12.37 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)