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.0008812/0.0008812, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002047/0.002929, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008878/0.0008878, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.00203, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.098, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.6312/0.6312, allocations: 110.2 MB / 354.2 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.07058/0.7018, allocations: 34.96 MB / 389.2 MB, free: 9.359 MB / 378.7 MB " [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.603e-06/1.603e-06, allocations: 0 / 390.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.557e-05, allocations: 2.312 kB / 390.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002738/0.002763, allocations: 1.341 MB / 391.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.003691, allocations: 0.5603 MB / 392.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.003716, allocations: 0 / 392.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.003728, allocations: 0 / 392.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.003769, allocations: 4 kB / 392.4 MB, free: 6.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.004287, allocations: 143.2 kB / 392.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.004354, allocations: 7.938 kB / 392.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.004404, allocations: 0 / 392.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.004466, allocations: 11.98 kB / 392.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.004537, allocations: 7.938 kB / 392.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.004557, allocations: 0 / 392.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.005062, allocations: 275.4 kB / 392.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.005078, allocations: 3.938 kB / 392.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.005097, allocations: 8 kB / 392.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005374, allocations: 119.7 kB / 393 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.251e-05/0.005397, allocations: 0 / 393 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.005399, allocations: 0 / 393 MB, free: 5.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.005423, allocations: 0 / 393 MB, free: 5.559 MB / 378.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.0004636/0.005886, allocations: 272.3 kB / 393.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.005925, allocations: 11.97 kB / 393.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.005955, allocations: 0.9375 kB / 393.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.006062, allocations: 113.7 kB / 393.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006076, allocations: 384 / 393.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.006083, allocations: 4.375 kB / 393.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.006165, allocations: 30.27 kB / 393.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006174, allocations: 192 / 393.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006182, allocations: 384 / 393.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006188, allocations: 384 / 393.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.006205, allocations: 7.938 kB / 393.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.006317, allocations: 65.05 kB / 393.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.006374, allocations: 30.52 kB / 393.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.006389, allocations: 4.859 kB / 393.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.006417, allocations: 8.062 kB / 393.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.006443, allocations: 30.56 kB / 393.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.006444, allocations: 0 / 393.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.006559, allocations: 37.64 kB / 393.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.006605, allocations: 55.39 kB / 393.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.00667, allocations: 98.72 kB / 393.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.006682, allocations: 25.7 kB / 393.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.006709, allocations: 84.14 kB / 393.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.006738, allocations: 3.953 kB / 393.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.006767, allocations: 13.97 kB / 393.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.006878, allocations: 326.8 kB / 394.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.00689, allocations: 4 kB / 394.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.006897, allocations: 0 / 394.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.006924, allocations: 8.859 kB / 394.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006926, allocations: 0 / 394.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.706e-05/0.006993, allocations: 41.62 kB / 394.2 MB, free: 4.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.007009, allocations: 4 kB / 394.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007015, allocations: 0 / 394.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.007026, allocations: 0 / 394.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.007204, allocations: 16.03 kB / 394.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005183/0.007722, allocations: 0.586 MB / 394.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.007755, allocations: 0 / 394.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.007762, allocations: 0 / 394.8 MB, free: 3.52 MB / 378.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 9.356e-05/0.007856, allocations: 109.8 kB / 394.9 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.007864, allocations: 0 / 394.9 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.008003, allocations: 44.94 kB / 395 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.008009, allocations: 3.938 kB / 395 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008013, allocations: 8.094 kB / 395 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.008017, allocations: 0 / 395 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.008158, allocations: 61.89 kB / 395.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.008162, allocations: 4 kB / 395.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.008291, allocations: 7.984 kB / 395.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.008311, allocations: 7.953 kB / 395.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.008316, allocations: 0 / 395.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.008323, allocations: 0 / 395.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004703/0.008793, allocations: 0.5859 MB / 395.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.008796, allocations: 4.062 kB / 395.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/0.008877, allocations: 65.06 kB / 395.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.00889, allocations: 0 / 395.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.008912, allocations: 3.984 kB / 395.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.008928, allocations: 0 / 395.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.008935, allocations: 4 kB / 395.7 MB, free: 2.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.008954, allocations: 8.844 kB / 395.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008954, allocations: 0 / 395.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.009219, allocations: 19.88 kB / 395.8 MB, free: 2.508 MB / 378.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.0003168/0.009536, allocations: 104.5 kB / 395.9 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.009717, allocations: 20.78 kB / 395.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.009726, allocations: 4 kB / 395.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.009754, allocations: 8.859 kB / 395.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.009882, allocations: 15.61 kB / 395.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.01062, allocations: 108.6 kB / 396 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.01067, allocations: 55.48 kB / 396.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.383e-05/0.0107, allocations: 7.984 kB / 396.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.01075, allocations: 47.38 kB / 396.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01075, allocations: 0 / 396.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of Templates: time 0.003122/0.01388, allocations: 0.5161 MB / 396.6 MB, free: 1.562 MB / 378.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.2048494769260287]