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-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_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.0008444/0.0008446, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00786/0.00786, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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 1.04/1.04, allocations: 143.4 MB / 434.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003396, allocations: 12 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 83.4 MB / 0.5981 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001679/0.2136, allocations: 0.9705 MB / 0.599 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2148, allocations: 0.5995 MB / 0.5996 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.2148, allocations: 0 / 0.5996 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.2149, allocations: 0 / 0.5996 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.2149, allocations: 3.984 kB / 0.5996 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.2155, allocations: 123 kB / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.2156, allocations: 15.88 kB / 0.5998 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.2156, allocations: 0 / 0.5998 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.2157, allocations: 4 kB / 0.5998 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.2157, allocations: 7.984 kB / 0.5998 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2157, allocations: 0 / 0.5998 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/0.2163, allocations: 347.3 kB / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2163, allocations: 0 / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.2164, allocations: 29.64 kB / 0.6001 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.2167, allocations: 140 kB / 0.6003 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2167, allocations: 0 / 0.6003 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2167, allocations: 0 / 0.6003 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2167, allocations: 3.938 kB / 0.6003 GB, free: 5.211 MB / 0.4981 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.0003968/0.2171, allocations: 351.5 kB / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2172, allocations: 12.03 kB / 0.6006 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.2172, allocations: 4.938 kB / 0.6006 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2173, allocations: 172.3 kB / 0.6008 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2173, allocations: 384 / 0.6008 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2174, allocations: 384 / 0.6008 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.752e-05/0.2175, allocations: 34.2 kB / 0.6008 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2175, allocations: 192 / 0.6008 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2175, allocations: 3.938 kB / 0.6008 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2175, allocations: 0 / 0.6008 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.2175, allocations: 12 kB / 0.6008 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2177, allocations: 149.7 kB / 0.601 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.2178, allocations: 22.58 kB / 0.601 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.2178, allocations: 8.922 kB / 0.601 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2178, allocations: 3.984 kB / 0.601 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.2179, allocations: 34.55 kB / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2179, allocations: 7.938 kB / 0.6011 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.218, allocations: 45.58 kB / 0.6011 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.218, allocations: 55.41 kB / 0.6011 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.2181, allocations: 93.86 kB / 0.6012 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.2181, allocations: 25.7 kB / 0.6013 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.2182, allocations: 84.12 kB / 0.6013 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2182, allocations: 7.906 kB / 0.6014 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.2182, allocations: 9.969 kB / 0.6014 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2184, allocations: 314.8 kB / 0.6017 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.2185, allocations: 8 kB / 0.6017 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.2185, allocations: 0 / 0.6017 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.2185, allocations: 12.8 kB / 0.6017 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2185, allocations: 0 / 0.6017 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.404e-05/0.2186, allocations: 49.62 kB / 0.6017 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2186, allocations: 4 kB / 0.6017 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2186, allocations: 3.938 kB / 0.6017 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2186, allocations: 4.094 kB / 0.6017 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2188, allocations: 11.98 kB / 0.6018 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003361/0.2191, allocations: 0.5821 MB / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.2192, allocations: 0 / 0.6023 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2192, allocations: 4.031 kB / 0.6023 GB, free: 2.859 MB / 0.4981 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 8.011e-05/0.2193, allocations: 113.9 kB / 0.6024 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-06/0.2193, allocations: 0 / 0.6024 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.2194, allocations: 44.81 kB / 0.6025 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2194, allocations: 0 / 0.6025 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2194, allocations: 4 kB / 0.6025 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2194, allocations: 0 / 0.6025 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2196, allocations: 153.6 kB / 0.6026 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2196, allocations: 4 kB / 0.6026 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.2196, allocations: 4 kB / 0.6026 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2197, allocations: 4.031 kB / 0.6026 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2197, allocations: 11.92 kB / 0.6026 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002808/0.22, allocations: 0.582 MB / 0.6032 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.22, allocations: 3.938 kB / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.357e-05/0.22, allocations: 57.27 kB / 0.6033 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2201, allocations: 89.12 kB / 0.6034 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2201, allocations: 0 / 0.6034 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.2201, allocations: 0 / 0.6034 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.2201, allocations: 15.81 kB / 0.6034 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2201, allocations: 4 kB / 0.6034 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2202, allocations: 79.28 kB / 0.6035 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2202, allocations: 0 / 0.6035 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001945/0.2204, allocations: 12 kB / 0.6035 GB, free: 1.566 MB / 0.4981 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.00015/0.2205, allocations: 115.3 kB / 0.6036 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.2207, allocations: 15.98 kB / 0.6036 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2207, allocations: 0 / 0.6036 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.2208, allocations: 23.92 kB / 0.6036 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.221, allocations: 3.938 kB / 0.6036 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2213, allocations: 115.2 kB / 0.6037 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2215, allocations: 0.677 MB / 0.6044 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.2215, allocations: 0 / 0.6044 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.2215, allocations: 7.438 kB / 0.6044 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2215, allocations: 0 / 0.6044 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of Templates: time 0.002487/0.224, allocations: 438.1 kB / 0.6048 GB, free: 156 kB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)