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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 88.23 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.056/1.056, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.617/0.617, allocations: 110.2 MB / 371 MB, free: 12.5 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 1.203 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.873e-05, allocations: 5.922 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00202/0.002049, allocations: 1.301 MB / 476.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.002762, allocations: 0.563 MB / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.002787, allocations: 3.906 kB / 477.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002813, allocations: 3.938 kB / 477.1 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.002863, allocations: 0 / 477.1 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.003293, allocations: 147.2 kB / 477.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.003346, allocations: 6.719 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.003387, allocations: 2.812 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.003417, allocations: 7.359 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.00346, allocations: 2.812 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003473, allocations: 3.938 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.003738, allocations: 268.3 kB / 477.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.003752, allocations: 8.016 kB / 477.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.003772, allocations: 10.75 kB / 477.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.003949, allocations: 143.6 kB / 477.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.003952, allocations: 0 / 477.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003953, allocations: 0 / 477.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.003958, allocations: 0 / 477.6 MB, free: 13.77 MB / 410.7 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.0003284/0.004286, allocations: 384 kB / 478 MB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.004325, allocations: 11.25 kB / 478 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.004364, allocations: 2.312 kB / 478 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.004428, allocations: 112.2 kB / 478.1 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.00444, allocations: 4.312 kB / 478.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004448, allocations: 3.875 kB / 478.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.263e-05/0.00452, allocations: 30.86 kB / 478.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004528, allocations: 192 / 478.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004538, allocations: 3.875 kB / 478.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004547, allocations: 4.984 kB / 478.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.004563, allocations: 5.656 kB / 478.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.00467, allocations: 112.2 kB / 478.3 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.004717, allocations: 39.56 kB / 478.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.004734, allocations: 9.875 kB / 478.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.004752, allocations: 0.5938 kB / 478.4 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.004767, allocations: 39.61 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.004768, allocations: 0 / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.004887, allocations: 42 kB / 478.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.004909, allocations: 51.41 kB / 478.5 MB, free: 12.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.456e-05/0.004953, allocations: 156.8 kB / 478.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.00496, allocations: 29.7 kB / 478.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.005194, allocations: 126.9 kB / 478.8 MB, free: 28.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.005217, allocations: 14.58 kB / 478.8 MB, free: 28.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.005239, allocations: 21.94 kB / 478.8 MB, free: 28.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005339, allocations: 496.1 kB / 479.3 MB, free: 28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.005352, allocations: 3.031 kB / 479.3 MB, free: 28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.00536, allocations: 3.312 kB / 479.3 MB, free: 28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.005386, allocations: 15.25 kB / 479.3 MB, free: 27.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005388, allocations: 0.7188 kB / 479.3 MB, free: 27.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.718e-05/0.005436, allocations: 41.92 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.005449, allocations: 7.688 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.005455, allocations: 0 / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.005468, allocations: 2.625 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.005607, allocations: 17.31 kB / 479.4 MB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/0.005953, allocations: 0.9011 MB / 480.3 MB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.005969, allocations: 0 / 480.3 MB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005973, allocations: 0 / 480.3 MB, free: 27.04 MB / 426.7 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 6.146e-05/0.006035, allocations: 158.4 kB / 480.5 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.00604, allocations: 6.438 kB / 480.5 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.006124, allocations: 46.25 kB / 480.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006125, allocations: 3.344 kB / 480.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006129, allocations: 0 / 480.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006132, allocations: 2.969 kB / 480.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.201e-05/0.006174, allocations: 111.4 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006176, allocations: 0 / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.006238, allocations: 11.66 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006241, allocations: 0 / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006248, allocations: 3.938 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000252/0.0065, allocations: 0.8941 MB / 481.5 MB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006501, allocations: 1.656 kB / 481.5 MB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.854e-05/0.006539, allocations: 76.11 kB / 481.6 MB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.006547, allocations: 11.33 kB / 481.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.006555, allocations: 0 / 481.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.006562, allocations: 0.5625 kB / 481.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.006576, allocations: 4.375 kB / 481.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.006579, allocations: 0 / 481.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.304e-05/0.006612, allocations: 121.8 kB / 481.7 MB, free: 25.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006612, allocations: 0 / 481.7 MB, free: 25.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001243/0.006736, allocations: 12.47 kB / 481.8 MB, free: 25.57 MB / 426.7 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.0001212/0.006857, allocations: 111.7 kB / 481.9 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.006998, allocations: 30.41 kB / 481.9 MB, free: 25.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007, allocations: 3.938 kB / 481.9 MB, free: 25.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.007032, allocations: 20.02 kB / 481.9 MB, free: 25.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.007138, allocations: 6.594 kB / 481.9 MB, free: 25.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.007393, allocations: 108.9 kB / 482 MB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.007417, allocations: 54.48 kB / 482.1 MB, free: 25.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.007435, allocations: 0 / 482.1 MB, free: 25.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.007448, allocations: 9.25 kB / 482.1 MB, free: 25.25 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007448, allocations: 0 / 482.1 MB, free: 25.25 MB / 426.7 MB Notification: Performance of Templates: time 0.002133/0.009581, allocations: 0.5294 MB / 482.6 MB, free: 25.22 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.658404451329261]