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.0009647/0.0009647, allocations: 79.73 kB / 20.75 MB, free: 3.738 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.001163/0.001163, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.5756/0.5756, allocations: 110.3 MB / 371.3 MB, free: 12.36 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.535e-06/2.535e-06, allocations: 4 kB / 422.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.726e-05, allocations: 6.25 kB / 422.4 MB, free: 9.359 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00171/0.001728, allocations: 1.309 MB / 423.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.002377, allocations: 0.5526 MB / 424.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.002395, allocations: 3.938 kB / 424.3 MB, free: 7.477 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.002409, allocations: 4 kB / 424.3 MB, free: 7.473 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.975e-05/0.002449, allocations: 4 kB / 424.3 MB, free: 7.469 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.002799, allocations: 143.2 kB / 424.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.002839, allocations: 15.92 kB / 424.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.064e-05/0.00287, allocations: 4 kB / 424.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.002898, allocations: 7.984 kB / 424.4 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.00294, allocations: 7.984 kB / 424.4 MB, free: 7.293 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.00295, allocations: 0 / 424.4 MB, free: 7.293 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.00323, allocations: 267.4 kB / 424.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.003242, allocations: 0 / 424.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.003255, allocations: 4 kB / 424.7 MB, free: 7.027 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.003454, allocations: 159.4 kB / 424.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003456, allocations: 0 / 424.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003456, allocations: 0 / 424.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.464e-06/0.003459, allocations: 0 / 424.9 MB, free: 6.871 MB / 394.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.0002401/0.003699, allocations: 240.4 kB / 425.1 MB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.003729, allocations: 16.02 kB / 425.1 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.003749, allocations: 4.938 kB / 425.1 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.421e-05/0.003813, allocations: 113.7 kB / 425.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.003821, allocations: 384 / 425.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.003828, allocations: 384 / 425.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.601e-05/0.003884, allocations: 30.27 kB / 425.3 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003889, allocations: 192 / 425.3 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.003895, allocations: 384 / 425.3 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.003898, allocations: 384 / 425.3 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.13e-05/0.003909, allocations: 11.92 kB / 425.3 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.894e-05/0.003978, allocations: 56.98 kB / 425.3 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.004015, allocations: 22.55 kB / 425.4 MB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.004027, allocations: 16.92 kB / 425.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.004037, allocations: 0 / 425.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.004057, allocations: 34.5 kB / 425.4 MB, free: 6.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.004057, allocations: 4 kB / 425.4 MB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 7.47e-05/0.004132, allocations: 33.69 kB / 425.4 MB, free: 6.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.00416, allocations: 55.34 kB / 425.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.004205, allocations: 102.7 kB / 425.6 MB, free: 6.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.004213, allocations: 25.7 kB / 425.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.004232, allocations: 80.39 kB / 425.7 MB, free: 5.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.004251, allocations: 12.3 kB / 425.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.004275, allocations: 17.7 kB / 425.7 MB, free: 5.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.00434, allocations: 322.8 kB / 426 MB, free: 5.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.004345, allocations: 0 / 426 MB, free: 5.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.004349, allocations: 0 / 426 MB, free: 5.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.696e-05/0.004366, allocations: 12.86 kB / 426.1 MB, free: 5.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.004369, allocations: 4 kB / 426.1 MB, free: 5.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.35e-05/0.004403, allocations: 37.62 kB / 426.1 MB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.004413, allocations: 8 kB / 426.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004417, allocations: 4.094 kB / 426.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.004426, allocations: 0 / 426.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.004524, allocations: 7.984 kB / 426.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002158/0.004739, allocations: 0.5782 MB / 426.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.004751, allocations: 0 / 426.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.004754, allocations: 0 / 426.7 MB, free: 4.863 MB / 394.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 4.343e-05/0.004798, allocations: 113.8 kB / 426.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-06/0.004801, allocations: 0 / 426.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.00486, allocations: 49 kB / 426.9 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.004863, allocations: 3.938 kB / 426.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004864, allocations: 0 / 426.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004866, allocations: 0 / 426.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.813e-05/0.004914, allocations: 65.86 kB / 426.9 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.004916, allocations: 0 / 426.9 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.004957, allocations: 7.984 kB / 426.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004959, allocations: 4 kB / 426.9 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.004962, allocations: 0 / 426.9 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001629/0.005125, allocations: 0.5899 MB / 427.5 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005125, allocations: 0 / 427.5 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.729e-05/0.005163, allocations: 61.06 kB / 427.6 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.005169, allocations: 7.875 kB / 427.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-06/0.005175, allocations: 0 / 427.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-06/0.00518, allocations: 0 / 427.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.005194, allocations: 11.97 kB / 427.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.005195, allocations: 0 / 427.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.388e-06/0.005205, allocations: 8.859 kB / 427.6 MB, free: 3.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005205, allocations: 0 / 427.6 MB, free: 3.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001015/0.005306, allocations: 16.09 kB / 427.6 MB, free: 3.852 MB / 394.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.0001055/0.005412, allocations: 92.34 kB / 427.7 MB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.005503, allocations: 24.77 kB / 427.7 MB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005505, allocations: 4 kB / 427.7 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.005537, allocations: 16.84 kB / 427.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.063e-05/0.005588, allocations: 0 / 427.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.005791, allocations: 112.8 kB / 427.9 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.005814, allocations: 51.36 kB / 427.9 MB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.084e-05/0.005825, allocations: 0 / 427.9 MB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.005847, allocations: 51.38 kB / 428 MB, free: 3.441 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005848, allocations: 0 / 428 MB, free: 3.441 MB / 394.7 MB Notification: Performance of Templates: time 0.001872/0.00772, allocations: 0.5386 MB / 428.5 MB, free: 2.902 MB / 394.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.08815801423043]