Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.196/2.196, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 183.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.2 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 50.8 kB / 1.081 GB, free: 217.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3287, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002399/0.3311, allocations: 1.321 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.332, allocations: 0.6042 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.3321, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.3321, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.3322, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3326, allocations: 119.6 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.3326, allocations: 11.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.3327, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.3327, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.3328, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3328, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.3332, allocations: 347.3 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3333, allocations: 3.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3333, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3335, allocations: 141.8 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3335, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3335, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.3336, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 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.0003682/0.3339, allocations: 351.5 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.334, allocations: 11.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.334, allocations: 12.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.3341, allocations: 160.4 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3341, allocations: 4.359 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.3341, allocations: 4.375 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.3342, allocations: 30.27 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3342, allocations: 192 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3343, allocations: 7.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3343, allocations: 3.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.3343, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.3344, allocations: 149.7 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.3345, allocations: 30.64 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.3345, allocations: 4.859 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3346, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3346, allocations: 38.62 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3346, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.3347, allocations: 49.56 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.3348, allocations: 51.41 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.3348, allocations: 93.86 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.3348, allocations: 25.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.3349, allocations: 80.14 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3349, allocations: 20.08 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.3349, allocations: 13.72 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.335, allocations: 310.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.335, allocations: 7.938 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.335, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.335, allocations: 16.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.335, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.732e-05/0.3351, allocations: 41.78 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3351, allocations: 8.781 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3351, allocations: 3.938 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3351, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3353, allocations: 8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002838/0.3356, allocations: 0.586 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.3356, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3356, allocations: 4.031 kB / 1.223 GB, free: 112.3 MB / 0.823 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 6.433e-05/0.3357, allocations: 114.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.3357, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3358, allocations: 48.72 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3358, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3358, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3358, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.969e-05/0.3359, allocations: 153.6 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3359, allocations: 11.97 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.336, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.336, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.336, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001921/0.3362, allocations: 0.586 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3362, allocations: 3.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3364, allocations: 0.6164 MB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3364, allocations: 81.05 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3364, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.3365, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.3365, allocations: 7.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.3365, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.3365, allocations: 83.31 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-07/0.3365, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003094/0.3368, allocations: 12 kB / 1.224 GB, free: 110.4 MB / 0.823 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.0001455/0.337, allocations: 111.2 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.3372, allocations: 23.86 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3372, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.3372, allocations: 16 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3374, allocations: 15.14 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3378, allocations: 203.3 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.338, allocations: 0.6692 MB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.338, allocations: 4 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.338, allocations: 7.438 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.338, allocations: 4 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002238/0.3402, allocations: 446.3 kB / 1.226 GB, free: 108.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)