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.0007639/0.0007639, allocations: 87.56 kB / 20.19 MB, free: 4.355 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.0007855/0.0007855, allocations: 162 kB / 23.51 MB, free: 1.035 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 0.8516/0.8516, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.5365/0.5365, allocations: 110.2 MB / 370.6 MB, free: 12.49 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.332e-06/1.332e-06, allocations: 0 / 474.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.281e-05, allocations: 4.609 kB / 474.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001187/0.001199, allocations: 1.278 MB / 475.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.001754, allocations: 0.5249 MB / 476.2 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.001776, allocations: 3.938 kB / 476.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.001793, allocations: 0.625 kB / 476.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.001829, allocations: 10.56 kB / 476.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.002193, allocations: 145.6 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.002239, allocations: 6.562 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.002276, allocations: 6 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.002304, allocations: 2.688 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.002341, allocations: 3.156 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.002353, allocations: 0 / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.002595, allocations: 274 kB / 476.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.002607, allocations: 2.875 kB / 476.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.002623, allocations: 2.625 kB / 476.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.002787, allocations: 148 kB / 476.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002789, allocations: 0 / 476.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002789, allocations: 0 / 476.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.002793, allocations: 0 / 476.8 MB, free: 13.84 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.0002669/0.00306, allocations: 278.3 kB / 477.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003094, allocations: 10.5 kB / 477.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.003126, allocations: 5.891 kB / 477.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.245e-05/0.003188, allocations: 112.3 kB / 477.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.003195, allocations: 1.375 kB / 477.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003206, allocations: 3 kB / 477.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.085e-05/0.003277, allocations: 37.39 kB / 477.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003284, allocations: 192 / 477.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003292, allocations: 384 / 477.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.003296, allocations: 384 / 477.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.003316, allocations: 7.562 kB / 477.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.125e-05/0.003408, allocations: 102.8 kB / 477.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.003458, allocations: 28.45 kB / 477.4 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.003471, allocations: 4.859 kB / 477.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.003486, allocations: 3.625 kB / 477.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-06/0.003496, allocations: 30.56 kB / 477.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003496, allocations: 0 / 477.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001272/0.003624, allocations: 44.28 kB / 477.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.003646, allocations: 55.91 kB / 477.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.137e-05/0.003687, allocations: 105.5 kB / 477.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.003692, allocations: 25.7 kB / 477.6 MB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.116e-05/0.003703, allocations: 80.14 kB / 477.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.003726, allocations: 7.938 kB / 477.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.003743, allocations: 12.34 kB / 477.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.003906, allocations: 320.8 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.003918, allocations: 4.781 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.003925, allocations: 0 / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.003951, allocations: 14.11 kB / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003952, allocations: 2.625 kB / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.093e-05/0.003993, allocations: 37.81 kB / 478.1 MB, free: 28.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.004003, allocations: 9.188 kB / 478.1 MB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004008, allocations: 1.719 kB / 478.1 MB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.004021, allocations: 0 / 478.1 MB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.00416, allocations: 11.59 kB / 478.1 MB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002748/0.004435, allocations: 0.5826 MB / 478.7 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.004451, allocations: 11.3 kB / 478.7 MB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.004457, allocations: 2.406 kB / 478.7 MB, free: 27.87 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 0.0003526/0.00481, allocations: 112.6 kB / 478.8 MB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.004816, allocations: 3.938 kB / 478.8 MB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.004897, allocations: 56.38 kB / 478.9 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.004899, allocations: 0 / 478.9 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.004903, allocations: 3.156 kB / 478.9 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.00491, allocations: 6.484 kB / 478.9 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.492e-05/0.004955, allocations: 100.2 kB / 479 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.004956, allocations: 0 / 479 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.005006, allocations: 11.55 kB / 479 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005008, allocations: 0 / 479 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.005015, allocations: 3.938 kB / 479 MB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004805/0.005495, allocations: 0.584 MB / 479.6 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.005497, allocations: 1.344 kB / 479.6 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.873e-05/0.005535, allocations: 71.45 kB / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.005541, allocations: 0 / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005552, allocations: 6.797 kB / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.005559, allocations: 0 / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.005577, allocations: 0.625 kB / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.005579, allocations: 0 / 479.7 MB, free: 26.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.251e-05/0.005602, allocations: 78.66 kB / 479.8 MB, free: 26.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005602, allocations: 0.5312 kB / 479.8 MB, free: 26.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.005731, allocations: 10.59 kB / 479.8 MB, free: 26.84 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 9.896e-05/0.00583, allocations: 109.3 kB / 479.9 MB, free: 26.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.005943, allocations: 24.45 kB / 479.9 MB, free: 26.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005945, allocations: 2.312 kB / 479.9 MB, free: 26.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.005975, allocations: 14.05 kB / 479.9 MB, free: 26.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.006076, allocations: 3.938 kB / 479.9 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.006302, allocations: 101.6 kB / 480 MB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.362e-05/0.006326, allocations: 60 kB / 480.1 MB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.006338, allocations: 5.562 kB / 480.1 MB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.00635, allocations: 11.47 kB / 480.1 MB, free: 26.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00635, allocations: 0 / 480.1 MB, free: 26.55 MB / 426.7 MB Notification: Performance of Templates: time 0.001775/0.008125, allocations: 493.9 kB / 480.6 MB, free: 26.53 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=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0771522698923945] Failed to read output from testmodel.py, exit status != 0: 0.011509769596159458 0.020201689000000002 0.015771079 Calling exit ...