Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001866/0.001866, allocations: 106.3 kB / 16.27 MB, free: 5.957 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.002065/0.002064, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8944/0.8944, allocations: 143.3 MB / 434.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 67.91 kB / 0.5151 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3689, allocations: 82.02 MB / 0.5952 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002243/0.3712, allocations: 1.247 MB / 0.5964 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.372, allocations: 0.5951 MB / 0.597 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.372, allocations: 0 / 0.597 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.3721, allocations: 1.438 kB / 0.597 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.3721, allocations: 3.938 kB / 0.597 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3726, allocations: 142.6 kB / 0.5971 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.3726, allocations: 11.94 kB / 0.5971 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.3727, allocations: 3.984 kB / 0.5971 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.3727, allocations: 1.438 kB / 0.5971 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.3728, allocations: 7.984 kB / 0.5972 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3728, allocations: 0 / 0.5972 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.3732, allocations: 343.3 kB / 0.5975 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.3732, allocations: 5.438 kB / 0.5975 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3732, allocations: 7.922 kB / 0.5975 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3735, allocations: 137.7 kB / 0.5976 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3735, allocations: 0 / 0.5976 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3735, allocations: 0.9375 kB / 0.5976 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3735, allocations: 0 / 0.5976 GB, free: 13.63 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.0003463/0.3738, allocations: 352.6 kB / 0.598 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3739, allocations: 12.03 kB / 0.598 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.3739, allocations: 2.219 kB / 0.598 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.374, allocations: 168.3 kB / 0.5981 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.374, allocations: 4.312 kB / 0.5981 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.374, allocations: 9.406 kB / 0.5981 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/0.3741, allocations: 30.27 kB / 0.5982 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3741, allocations: 1.125 kB / 0.5982 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3742, allocations: 7.922 kB / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3742, allocations: 0.5625 kB / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.3742, allocations: 4 kB / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.3743, allocations: 146.9 kB / 0.5983 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.3744, allocations: 31.03 kB / 0.5984 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.3744, allocations: 10.02 kB / 0.5984 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3744, allocations: 0 / 0.5984 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.3744, allocations: 39.72 kB / 0.5984 GB, free: 12.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.3744, allocations: 0 / 0.5984 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.3746, allocations: 42.39 kB / 0.5984 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.3746, allocations: 53.31 kB / 0.5985 GB, free: 12.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.703e-05/0.3747, allocations: 97.84 kB / 0.5986 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.3747, allocations: 25.7 kB / 0.5986 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.243e-05/0.3747, allocations: 81.7 kB / 0.5987 GB, free: 12.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3747, allocations: 7.844 kB / 0.5987 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.3748, allocations: 17.72 kB / 0.5987 GB, free: 12.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.3748, allocations: 315.4 kB / 0.599 GB, free: 12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.3748, allocations: 5.281 kB / 0.599 GB, free: 11.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-06/0.3748, allocations: 3.984 kB / 0.599 GB, free: 11.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.3749, allocations: 14.27 kB / 0.599 GB, free: 11.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3749, allocations: 4 kB / 0.599 GB, free: 11.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.023e-05/0.3749, allocations: 33.7 kB / 0.5991 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.375, allocations: 5.469 kB / 0.5991 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.375, allocations: 3.938 kB / 0.5991 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.375, allocations: 3.938 kB / 0.5991 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3751, allocations: 11.98 kB / 0.5991 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002245/0.3754, allocations: 0.588 MB / 0.5997 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.3754, allocations: 0 / 0.5997 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3754, allocations: 5.938 kB / 0.5997 GB, free: 11.29 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.527e-05/0.3755, allocations: 109.8 kB / 0.5998 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.3755, allocations: 3.984 kB / 0.5998 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.3756, allocations: 46.48 kB / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3756, allocations: 0 / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3756, allocations: 8 kB / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3756, allocations: 1.5 kB / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.805e-05/0.3757, allocations: 157.5 kB / 0.6 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3757, allocations: 0 / 0.6 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.3757, allocations: 11.98 kB / 0.6 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3758, allocations: 4.75 kB / 0.6 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3758, allocations: 0 / 0.6 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001671/0.3759, allocations: 0.5797 MB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.376, allocations: 5 kB / 0.6006 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.135e-05/0.376, allocations: 66.09 kB / 0.6006 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.376, allocations: 78.61 kB / 0.6007 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3761, allocations: 7.938 kB / 0.6007 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.3761, allocations: 0 / 0.6007 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.3761, allocations: 3.938 kB / 0.6007 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3761, allocations: 0.7188 kB / 0.6007 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.254e-05/0.3761, allocations: 80.69 kB / 0.6008 GB, free: 10.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 0 / 0.6008 GB, free: 10.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.3763, allocations: 19.98 kB / 0.6008 GB, free: 10.01 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.0001358/0.3765, allocations: 104.7 kB / 0.6009 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3766, allocations: 16.55 kB / 0.6009 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3767, allocations: 1.594 kB / 0.6009 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.3767, allocations: 19.92 kB / 0.601 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3769, allocations: 4 kB / 0.601 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.3772, allocations: 137 kB / 0.6011 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.3773, allocations: 0.6813 MB / 0.6018 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.3773, allocations: 8.938 kB / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3774, allocations: 0 / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002426/0.3798, allocations: 0.7084 MB / 0.6025 GB, free: 8.301 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)