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.0008404/0.0008404, allocations: 82.64 kB / 20.68 MB, free: 3.809 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.0008592/0.0008592, allocations: 177 kB / 24.09 MB, free: 416 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 0.9568/0.9568, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.657/0.657, allocations: 110.3 MB / 371.3 MB, free: 12.38 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.242e-06/1.242e-06, allocations: 0.7656 kB / 475.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.248e-05, allocations: 3.75 kB / 475.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001622/0.001645, allocations: 1.294 MB / 476.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.002294, allocations: 0.5555 MB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.002322, allocations: 0 / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.00234, allocations: 3.281 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.002383, allocations: 2.625 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.002708, allocations: 147.3 kB / 477.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.002747, allocations: 11.5 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.002779, allocations: 3.422 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.002808, allocations: 6.625 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.002847, allocations: 2.625 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.002859, allocations: 0 / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.003109, allocations: 273.6 kB / 477.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.00312, allocations: 0 / 477.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.003132, allocations: 7.766 kB / 477.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.0033, allocations: 151.2 kB / 478.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003302, allocations: 0.9375 kB / 478.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003303, allocations: 0 / 478.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003306, allocations: 1.75 kB / 478.1 MB, free: 13.59 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.0002224/0.003528, allocations: 377.2 kB / 478.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003561, allocations: 11.25 kB / 478.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.003582, allocations: 4.219 kB / 478.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.956e-05/0.003632, allocations: 108.8 kB / 478.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.00364, allocations: 4.375 kB / 478.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-06/0.003645, allocations: 1.188 kB / 478.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.003694, allocations: 30.23 kB / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003699, allocations: 1.188 kB / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-06/0.003704, allocations: 384 / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.003709, allocations: 384 / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.026e-05/0.003719, allocations: 18.19 kB / 478.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.855e-05/0.003798, allocations: 97.16 kB / 478.7 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.003829, allocations: 30.19 kB / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.003841, allocations: 15.62 kB / 478.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.003861, allocations: 6.531 kB / 478.8 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.003877, allocations: 36.77 kB / 478.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003878, allocations: 0 / 478.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.916e-05/0.003967, allocations: 43.06 kB / 478.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.614e-05/0.003983, allocations: 51.41 kB / 478.9 MB, free: 12.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.045e-05/0.004023, allocations: 157.3 kB / 479.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-06/0.004028, allocations: 29.61 kB / 479.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.004236, allocations: 126.9 kB / 479.2 MB, free: 28.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.004259, allocations: 13.02 kB / 479.2 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.004278, allocations: 18.12 kB / 479.2 MB, free: 28.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.004384, allocations: 0.4883 MB / 479.7 MB, free: 27.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.004391, allocations: 7.594 kB / 479.7 MB, free: 27.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.004399, allocations: 6.094 kB / 479.7 MB, free: 27.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.004419, allocations: 11.41 kB / 479.8 MB, free: 27.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.00442, allocations: 0 / 479.8 MB, free: 27.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.845e-05/0.004459, allocations: 43.73 kB / 479.8 MB, free: 27.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.004469, allocations: 5.781 kB / 479.8 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004473, allocations: 0.9062 kB / 479.8 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004484, allocations: 0 / 479.8 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.004593, allocations: 11.58 kB / 479.8 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003062/0.004899, allocations: 0.8962 MB / 480.7 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.004911, allocations: 2.594 kB / 480.7 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.004915, allocations: 0 / 480.7 MB, free: 26.89 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 5.141e-05/0.004966, allocations: 160 kB / 480.9 MB, free: 26.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-06/0.00497, allocations: 4 kB / 480.9 MB, free: 26.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.005036, allocations: 46.17 kB / 480.9 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005038, allocations: 0 / 480.9 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005039, allocations: 0 / 480.9 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005042, allocations: 0 / 480.9 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.143e-05/0.005083, allocations: 102.7 kB / 481 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005085, allocations: 2.438 kB / 481 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.005129, allocations: 11.02 kB / 481 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.00513, allocations: 0 / 481 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-06/0.005134, allocations: 0 / 481 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002384/0.005372, allocations: 0.8993 MB / 481.9 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005373, allocations: 6.375 kB / 481.9 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.262e-05/0.005406, allocations: 72.94 kB / 482 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.005413, allocations: 12.7 kB / 482 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-06/0.005419, allocations: 0 / 482 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-06/0.005425, allocations: 0 / 482 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.005434, allocations: 0 / 482 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005437, allocations: 2.531 kB / 482 MB, free: 25.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.00547, allocations: 120.3 kB / 482.1 MB, free: 25.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00547, allocations: 0 / 482.1 MB, free: 25.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.005588, allocations: 20.31 kB / 482.2 MB, free: 25.43 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.0001034/0.005691, allocations: 111.1 kB / 482.3 MB, free: 25.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.005785, allocations: 26.98 kB / 482.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005787, allocations: 0 / 482.3 MB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.005817, allocations: 23.39 kB / 482.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.01e-05/0.005908, allocations: 1.531 kB / 482.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.00609, allocations: 116.2 kB / 482.4 MB, free: 25.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.418e-05/0.006104, allocations: 52.45 kB / 482.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.241e-05/0.006116, allocations: 0 / 482.5 MB, free: 25.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.006141, allocations: 70.11 kB / 482.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006141, allocations: 0 / 482.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of Templates: time 0.001781/0.007922, allocations: 0.5397 MB / 483.1 MB, free: 25.03 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.3403612156398594]