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.0006876/0.0006876, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007353/0.0007353, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.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.8529/0.8529, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1308, allocations: 83.41 MB / 0.5973 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001081/0.1319, allocations: 0.9783 MB / 0.5982 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.1327, allocations: 0.5377 MB / 0.5987 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.1328, allocations: 0 / 0.5987 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.207e-06/0.1328, allocations: 4 kB / 0.5987 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.1328, allocations: 3.938 kB / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1332, allocations: 118.8 kB / 0.5989 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.1332, allocations: 7.938 kB / 0.5989 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.1333, allocations: 0 / 0.5989 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1333, allocations: 11.98 kB / 0.5989 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.1333, allocations: 3.984 kB / 0.5989 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.1333, allocations: 0 / 0.5989 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.1338, allocations: 335.3 kB / 0.5992 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-06/0.1338, allocations: 0 / 0.5992 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.1338, allocations: 29.7 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1339, allocations: 96.11 kB / 0.5993 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.134, allocations: 0 / 0.5993 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.046e-06/0.134, allocations: 0 / 0.5993 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.134, allocations: 3.938 kB / 0.5993 GB, free: 5.945 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.0002988/0.1343, allocations: 343.3 kB / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.1343, allocations: 8.031 kB / 0.5997 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.1343, allocations: 3.953 kB / 0.5997 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1344, allocations: 175 kB / 0.5998 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1345, allocations: 4 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1345, allocations: 0 / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.1345, allocations: 29.7 kB / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1346, allocations: 0 / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1346, allocations: 0 / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1346, allocations: 0 / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.1346, allocations: 4 kB / 0.5999 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.1347, allocations: 165.6 kB / 0.6 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.1348, allocations: 22.52 kB / 0.6 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.1348, allocations: 12.92 kB / 0.6001 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1348, allocations: 3.984 kB / 0.6001 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1349, allocations: 30.56 kB / 0.6001 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1349, allocations: 3.938 kB / 0.6001 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001044/0.135, allocations: 37.7 kB / 0.6001 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.135, allocations: 59.47 kB / 0.6002 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.1351, allocations: 97.84 kB / 0.6003 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1351, allocations: 25.7 kB / 0.6003 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.1351, allocations: 80.14 kB / 0.6004 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1351, allocations: 7.906 kB / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1352, allocations: 4 kB / 0.6004 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.1352, allocations: 314.8 kB / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.1353, allocations: 128 / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.1353, allocations: 8 kB / 0.6007 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.435e-05/0.1353, allocations: 4 kB / 0.6007 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1353, allocations: 0 / 0.6007 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.905e-05/0.1354, allocations: 45.62 kB / 0.6007 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.1354, allocations: 4 kB / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1354, allocations: 0 / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1354, allocations: 0 / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1355, allocations: 11.98 kB / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002862/0.1358, allocations: 0.5899 MB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.1358, allocations: 4.031 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1359, allocations: 0 / 0.6013 GB, free: 3.637 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.1359, allocations: 105.8 kB / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-06/0.1359, allocations: 0 / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.136, allocations: 56.84 kB / 0.6015 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.136, allocations: 4 kB / 0.6015 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.136, allocations: 7.953 kB / 0.6015 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.136, allocations: 0 / 0.6015 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.1361, allocations: 145.7 kB / 0.6016 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1361, allocations: 4 kB / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.1362, allocations: 4 kB / 0.6017 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1362, allocations: 4 kB / 0.6017 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.1362, allocations: 0 / 0.6017 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002469/0.1365, allocations: 0.5937 MB / 0.6022 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1365, allocations: 0 / 0.6022 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/0.1365, allocations: 61.11 kB / 0.6023 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.1366, allocations: 89.08 kB / 0.6024 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.1366, allocations: 3.953 kB / 0.6024 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.1366, allocations: 7.938 kB / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1366, allocations: 4.125 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1366, allocations: 0 / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.1367, allocations: 79.28 kB / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1367, allocations: 0 / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001711/0.1369, allocations: 12 kB / 0.6025 GB, free: 2.344 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.137, allocations: 115.2 kB / 0.6026 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1371, allocations: 24.08 kB / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1371, allocations: 0 / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1372, allocations: 23.86 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1373, allocations: 1.422 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.1376, allocations: 107.1 kB / 0.6027 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1378, allocations: 0.6731 MB / 0.6034 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.415e-05/0.1378, allocations: 8.125 kB / 0.6034 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-06/0.1378, allocations: 7.438 kB / 0.6034 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1378, allocations: 0 / 0.6034 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of Templates: time 0.002017/0.1399, allocations: 427.8 kB / 0.6038 GB, free: 0.9414 MB / 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)