Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001265/0.001265, allocations: 108.9 kB / 16.37 MB, free: 6.465 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.001274/0.001274, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8506/0.8506, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3699, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001973/0.3719, allocations: 1.243 MB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.3727, allocations: 0.5948 MB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.3727, allocations: 1.375 kB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.3727, allocations: 3.938 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.3727, allocations: 4 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3732, allocations: 144.7 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.3732, allocations: 7.938 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.3733, allocations: 1.344 kB / 0.5977 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.3733, allocations: 4 kB / 0.5977 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.3733, allocations: 3.984 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3733, allocations: 1.344 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.3737, allocations: 347.3 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.3737, allocations: 7.938 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.3738, allocations: 4 kB / 0.598 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.374, allocations: 132.5 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.374, allocations: 0 / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.374, allocations: 9.312 kB / 0.5981 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.374, allocations: 0 / 0.5981 GB, free: 13.66 MB / 446.1 MB 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.0003036/0.3743, allocations: 345.3 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3743, allocations: 9.375 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.3744, allocations: 0.9375 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.3745, allocations: 168.3 kB / 0.5986 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3745, allocations: 13.78 kB / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3745, allocations: 384 / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.3746, allocations: 30.27 kB / 0.5987 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3746, allocations: 5.469 kB / 0.5987 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3746, allocations: 3.938 kB / 0.5987 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3746, allocations: 0 / 0.5987 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.3746, allocations: 5.531 kB / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.3747, allocations: 149.7 kB / 0.5988 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.3748, allocations: 27.89 kB / 0.5989 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.3748, allocations: 8.859 kB / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3748, allocations: 4.062 kB / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3749, allocations: 36.55 kB / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3749, allocations: 0 / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.375, allocations: 49.56 kB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.375, allocations: 52.44 kB / 0.599 GB, free: 12.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.529e-05/0.3751, allocations: 95.2 kB / 0.5991 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.3751, allocations: 25.7 kB / 0.5991 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.3751, allocations: 88.11 kB / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3751, allocations: 17 kB / 0.5992 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3752, allocations: 13.72 kB / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.3752, allocations: 311.4 kB / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.3752, allocations: 5.062 kB / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.3752, allocations: 0 / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.3753, allocations: 17.95 kB / 0.5996 GB, free: 12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3753, allocations: 0 / 0.5996 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.068e-05/0.3753, allocations: 42.75 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3753, allocations: 5.875 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3754, allocations: 3.938 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3754, allocations: 1.531 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3755, allocations: 15.98 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002199/0.3757, allocations: 0.5793 MB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.3758, allocations: 4.656 kB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3758, allocations: 0 / 0.6002 GB, free: 11.33 MB / 446.1 MB 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 4.185e-05/0.3758, allocations: 111.1 kB / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.3758, allocations: 5.406 kB / 0.6003 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.3759, allocations: 48.75 kB / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3759, allocations: 0 / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3759, allocations: 1.469 kB / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.376, allocations: 0 / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.363e-05/0.376, allocations: 161.5 kB / 0.6005 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.376, allocations: 3.938 kB / 0.6005 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3761, allocations: 9.656 kB / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3761, allocations: 0 / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3761, allocations: 3.984 kB / 0.6005 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001584/0.3763, allocations: 0.5845 MB / 0.6011 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3763, allocations: 3.938 kB / 0.6011 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.775e-05/0.3763, allocations: 58.52 kB / 0.6012 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.3764, allocations: 85.09 kB / 0.6012 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3764, allocations: 4 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.3764, allocations: 1.5 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.3764, allocations: 3.938 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.3764, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.508e-05/0.3764, allocations: 83.84 kB / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3764, allocations: 1.5 kB / 0.6013 GB, free: 10.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.3766, allocations: 15.94 kB / 0.6013 GB, free: 10.04 MB / 446.1 MB 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.0001202/0.3768, allocations: 111.2 kB / 0.6014 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3769, allocations: 19.92 kB / 0.6015 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3769, allocations: 0.75 kB / 0.6015 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.377, allocations: 21.48 kB / 0.6015 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3771, allocations: 0 / 0.6015 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3774, allocations: 103.2 kB / 0.6016 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.3775, allocations: 0.6766 MB / 0.6022 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3776, allocations: 0.875 kB / 0.6022 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.3776, allocations: 12.84 kB / 0.6023 GB, free: 9.051 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3776, allocations: 0 / 0.6023 GB, free: 9.051 MB / 446.1 MB Notification: Performance of Templates: time 0.002281/0.3799, allocations: 478.8 kB / 0.6027 GB, free: 8.648 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)