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.001102/0.001102, allocations: 110.6 kB / 16.37 MB, free: 5.539 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.001175/0.001175, allocations: 197.4 kB / 17.31 MB, free: 5.18 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 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.8563/0.8563, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3107, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002023/0.3128, allocations: 1.246 MB / 0.5969 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.3136, allocations: 0.5937 MB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.3136, allocations: 0.7188 kB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.3136, allocations: 0 / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.3137, allocations: 6.406 kB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.3141, allocations: 143.4 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.977e-05/0.3142, allocations: 15.94 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.3142, allocations: 0 / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.3142, allocations: 5.375 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.3143, allocations: 3.984 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3143, allocations: 0 / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.3147, allocations: 347.3 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.3147, allocations: 5.312 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3147, allocations: 0 / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3149, allocations: 139.5 kB / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3149, allocations: 0 / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3149, allocations: 1.344 kB / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3149, allocations: 0 / 0.5981 GB, free: 13.64 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.0002816/0.3152, allocations: 350.8 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3153, allocations: 12.03 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3153, allocations: 0.9375 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.3154, allocations: 168.3 kB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3154, allocations: 1.844 kB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.3154, allocations: 4.375 kB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.354e-05/0.3155, allocations: 35.55 kB / 0.5987 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3155, allocations: 4.188 kB / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3155, allocations: 3.938 kB / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3155, allocations: 0 / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.3155, allocations: 5.125 kB / 0.5987 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.3156, allocations: 153.7 kB / 0.5988 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.846e-05/0.3157, allocations: 23.48 kB / 0.5989 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.3157, allocations: 6.203 kB / 0.5989 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3157, allocations: 3.938 kB / 0.5989 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.3157, allocations: 40.02 kB / 0.5989 GB, free: 12.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3158, allocations: 0 / 0.5989 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001215/0.3159, allocations: 46.94 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3159, allocations: 51.41 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.316, allocations: 99.2 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-06/0.316, allocations: 25.7 kB / 0.5991 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/0.316, allocations: 80.14 kB / 0.5992 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.316, allocations: 17.08 kB / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.316, allocations: 13.72 kB / 0.5992 GB, free: 12.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.3161, allocations: 315.8 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.3161, allocations: 4 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.3161, allocations: 5.312 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.3161, allocations: 8.859 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3162, allocations: 5.312 kB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.824e-05/0.3162, allocations: 41.69 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3162, allocations: 7.938 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3162, allocations: 5.375 kB / 0.5996 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3162, allocations: 0 / 0.5996 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3164, allocations: 11.98 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002048/0.3166, allocations: 0.5834 MB / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.3166, allocations: 1.5 kB / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3166, allocations: 4.031 kB / 0.6002 GB, free: 11.3 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.241e-05/0.3167, allocations: 115.2 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-06/0.3167, allocations: 0 / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.3168, allocations: 45.53 kB / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3168, allocations: 0 / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3168, allocations: 5.281 kB / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3168, allocations: 0 / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.2e-05/0.3169, allocations: 157.5 kB / 0.6005 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3169, allocations: 0 / 0.6005 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.3169, allocations: 13.03 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3169, allocations: 4 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.317, allocations: 0 / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001618/0.3171, allocations: 0.5885 MB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3171, allocations: 3.938 kB / 0.6011 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.792e-05/0.3172, allocations: 62.77 kB / 0.6012 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.3172, allocations: 81.09 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.3172, allocations: 5.094 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.3172, allocations: 0 / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.3173, allocations: 3.938 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.3173, allocations: 1.094 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.3173, allocations: 79.28 kB / 0.6013 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.3173, allocations: 1.562 kB / 0.6013 GB, free: 10.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.3175, allocations: 15.94 kB / 0.6013 GB, free: 10.02 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.0001223/0.3176, allocations: 111.4 kB / 0.6014 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.3178, allocations: 19.98 kB / 0.6015 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3178, allocations: 0.625 kB / 0.6015 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.3178, allocations: 17.2 kB / 0.6015 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.318, allocations: 6.031 kB / 0.6015 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.3182, allocations: 111.4 kB / 0.6016 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.3183, allocations: 0.6781 MB / 0.6023 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.3184, allocations: 0 / 0.6023 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-06/0.3184, allocations: 7.438 kB / 0.6023 GB, free: 9.023 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3184, allocations: 1.625 kB / 0.6023 GB, free: 9.023 MB / 446.1 MB Notification: Performance of Templates: time 0.002262/0.3206, allocations: 473.3 kB / 0.6027 GB, free: 8.625 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)