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.0009221/0.0009221, allocations: 80.39 kB / 20.98 MB, free: 3.574 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.0009305/0.0009305, allocations: 169 kB / 24.28 MB, free: 276 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/1, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.6381/0.6381, allocations: 110.3 MB / 371.3 MB, free: 12.52 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 1.914e-06/1.914e-06, allocations: 0 / 475.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.858e-05, allocations: 3.516 kB / 475.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001803/0.001832, allocations: 1.301 MB / 476.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.002654, allocations: 0.5688 MB / 477 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.002682, allocations: 0 / 477 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.002703, allocations: 2.156 kB / 477 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.00275, allocations: 0 / 477 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.00322, allocations: 144.9 kB / 477.2 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.003285, allocations: 13.17 kB / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.003331, allocations: 6.734 kB / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.003362, allocations: 2.625 kB / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.00341, allocations: 4.594 kB / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.003424, allocations: 0 / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.003698, allocations: 269.3 kB / 477.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.003713, allocations: 0 / 477.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.003734, allocations: 6.562 kB / 477.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.003924, allocations: 149.5 kB / 477.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.003927, allocations: 2.625 kB / 477.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003928, allocations: 0.9375 kB / 477.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.003933, allocations: 0 / 477.6 MB, free: 13.85 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.0003327/0.004265, allocations: 389.2 kB / 478 MB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.004304, allocations: 7.875 kB / 478 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.004344, allocations: 4.062 kB / 478 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.004424, allocations: 113.4 kB / 478.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004436, allocations: 384 / 478.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.004445, allocations: 4.375 kB / 478.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.004523, allocations: 28.89 kB / 478.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.004531, allocations: 6.797 kB / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004539, allocations: 384 / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.004548, allocations: 0.9375 kB / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.004566, allocations: 9.891 kB / 478.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.004678, allocations: 111.9 kB / 478.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/0.004725, allocations: 39.12 kB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.004742, allocations: 10.31 kB / 478.3 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.004762, allocations: 0 / 478.3 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.004777, allocations: 36.67 kB / 478.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.004778, allocations: 2.625 kB / 478.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001269/0.004905, allocations: 41.52 kB / 478.4 MB, free: 13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.00493, allocations: 53.19 kB / 478.5 MB, free: 12.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.005241, allocations: 159.8 kB / 478.6 MB, free: 28.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.005247, allocations: 25.7 kB / 478.7 MB, free: 28.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.005275, allocations: 129.5 kB / 478.8 MB, free: 28.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.005298, allocations: 12.58 kB / 478.8 MB, free: 28.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.005322, allocations: 18 kB / 478.8 MB, free: 28.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.005416, allocations: 496.5 kB / 479.3 MB, free: 28.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.005427, allocations: 3.469 kB / 479.3 MB, free: 28.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.005434, allocations: 2.625 kB / 479.3 MB, free: 28.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.005462, allocations: 18.06 kB / 479.3 MB, free: 28.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005464, allocations: 0 / 479.3 MB, free: 28.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.005514, allocations: 38.89 kB / 479.4 MB, free: 28.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005527, allocations: 5.25 kB / 479.4 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005531, allocations: 0 / 479.4 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.005546, allocations: 0 / 479.4 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.005693, allocations: 16.05 kB / 479.4 MB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003551/0.006049, allocations: 0.9031 MB / 480.3 MB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.006066, allocations: 4 kB / 480.3 MB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006071, allocations: 4 kB / 480.3 MB, free: 27.11 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.77e-05/0.006139, allocations: 155.2 kB / 480.4 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.006145, allocations: 7.062 kB / 480.5 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.006232, allocations: 46.03 kB / 480.5 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006234, allocations: 6.062 kB / 480.5 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006238, allocations: 0 / 480.5 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006241, allocations: 0 / 480.5 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.608e-05/0.006287, allocations: 110.6 kB / 480.6 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006289, allocations: 0 / 480.6 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.006346, allocations: 7.875 kB / 480.6 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006349, allocations: 3.281 kB / 480.6 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.006356, allocations: 6.562 kB / 480.6 MB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/0.006625, allocations: 0.8918 MB / 481.5 MB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006626, allocations: 0 / 481.5 MB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.166e-05/0.006667, allocations: 78.8 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.006676, allocations: 7.078 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.006686, allocations: 0.5 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.006695, allocations: 0.7188 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.00671, allocations: 5.906 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.006713, allocations: 4.531 kB / 481.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.006749, allocations: 123.7 kB / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006749, allocations: 0 / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000131/0.00688, allocations: 9.469 kB / 481.7 MB, free: 25.64 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.0001431/0.007023, allocations: 107.1 kB / 481.8 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.00717, allocations: 29.3 kB / 481.9 MB, free: 25.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.007172, allocations: 0 / 481.9 MB, free: 25.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.007204, allocations: 27.03 kB / 481.9 MB, free: 25.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.007315, allocations: 3.938 kB / 481.9 MB, free: 25.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.007597, allocations: 106.8 kB / 482 MB, free: 25.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.987e-05/0.007616, allocations: 54.64 kB / 482.1 MB, free: 25.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.493e-05/0.007631, allocations: 0 / 482.1 MB, free: 25.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.007646, allocations: 11.84 kB / 482.1 MB, free: 25.34 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007647, allocations: 0 / 482.1 MB, free: 25.34 MB / 426.7 MB Notification: Performance of Templates: time 0.002255/0.009901, allocations: 0.5049 MB / 482.6 MB, free: 25.3 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.5370050300844014]