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.001881/0.001881, allocations: 84.39 kB / 20.23 MB, free: 4.199 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.002324/0.002324, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.9317/0.9317, allocations: 110.3 MB / 370.6 MB, free: 12.44 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.455e-06/2.455e-06, allocations: 0 / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.987e-05, allocations: 3.516 kB / 474.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002923/0.002953, allocations: 1.266 MB / 475.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004229, allocations: 0.5284 MB / 476.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.004254, allocations: 0 / 476.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.004276, allocations: 1.125 kB / 476.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.004332, allocations: 3.469 kB / 476.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.005058, allocations: 144 kB / 476.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.005129, allocations: 13.19 kB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.00517, allocations: 5.953 kB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.005204, allocations: 4.594 kB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.005255, allocations: 6.609 kB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.005271, allocations: 0 / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.00587, allocations: 274.6 kB / 476.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.005883, allocations: 0 / 476.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.005911, allocations: 3.375 kB / 476.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.006244, allocations: 147.8 kB / 476.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006247, allocations: 1.906 kB / 476.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006248, allocations: 0 / 476.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006252, allocations: 0 / 476.8 MB, free: 13.87 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.0003872/0.006639, allocations: 277.9 kB / 477.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.006685, allocations: 7.875 kB / 477.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.006734, allocations: 8.297 kB / 477.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.006812, allocations: 104.4 kB / 477.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.006826, allocations: 1.031 kB / 477.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.006838, allocations: 4.359 kB / 477.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.006946, allocations: 39.55 kB / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006957, allocations: 2.188 kB / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.006968, allocations: 4.312 kB / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006973, allocations: 384 / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.007007, allocations: 6.562 kB / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.007133, allocations: 103.9 kB / 477.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.007198, allocations: 31.55 kB / 477.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.007225, allocations: 7.484 kB / 477.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.007253, allocations: 2.625 kB / 477.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.007274, allocations: 30.56 kB / 477.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.007276, allocations: 0 / 477.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.00747, allocations: 47.61 kB / 477.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.007495, allocations: 51.41 kB / 477.6 MB, free: 13.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.007556, allocations: 100.4 kB / 477.6 MB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.007566, allocations: 29.45 kB / 477.7 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.007586, allocations: 80.14 kB / 477.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.007614, allocations: 3.953 kB / 477.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.007653, allocations: 17.33 kB / 477.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003296/0.007982, allocations: 317.5 kB / 478.1 MB, free: 28.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.008002, allocations: 0 / 478.1 MB, free: 28.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.008017, allocations: 2.625 kB / 478.1 MB, free: 28.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.00806, allocations: 14.98 kB / 478.1 MB, free: 28.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008062, allocations: 0.8125 kB / 478.1 MB, free: 28.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.976e-05/0.008152, allocations: 43.58 kB / 478.1 MB, free: 28.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.008166, allocations: 6.438 kB / 478.2 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.008172, allocations: 0 / 478.2 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.008193, allocations: 0 / 478.2 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.008404, allocations: 14.61 kB / 478.2 MB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006748/0.009079, allocations: 0.5862 MB / 478.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.009109, allocations: 3.953 kB / 478.8 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.009117, allocations: 2.625 kB / 478.8 MB, free: 27.9 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.0001096/0.009227, allocations: 109.8 kB / 478.9 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.009243, allocations: 10.03 kB / 478.9 MB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.009375, allocations: 45.48 kB / 478.9 MB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.009378, allocations: 4.641 kB / 478.9 MB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009384, allocations: 2.625 kB / 478.9 MB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009387, allocations: 0 / 478.9 MB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/0.009459, allocations: 99.89 kB / 479 MB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.009461, allocations: 4.5 kB / 479 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.009588, allocations: 11.94 kB / 479 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.00959, allocations: 0.9062 kB / 479 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009598, allocations: 7.875 kB / 479.1 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006041/0.0102, allocations: 0.584 MB / 479.6 MB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.01021, allocations: 2.625 kB / 479.6 MB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.01029, allocations: 67.86 kB / 479.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.0103, allocations: 0 / 479.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01032, allocations: 3.375 kB / 479.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.01034, allocations: 8.5 kB / 479.7 MB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.01036, allocations: 3.938 kB / 479.7 MB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.01036, allocations: 0 / 479.7 MB, free: 26.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.01043, allocations: 78.03 kB / 479.8 MB, free: 26.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.01043, allocations: 0.8438 kB / 479.8 MB, free: 26.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.01079, allocations: 8.031 kB / 479.8 MB, free: 26.86 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.0002305/0.01102, allocations: 109.6 kB / 479.9 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.01124, allocations: 22.22 kB / 479.9 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.01125, allocations: 0 / 479.9 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.01139, allocations: 16.78 kB / 480 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01163, allocations: 7.344 kB / 480 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01199, allocations: 113 kB / 480.1 MB, free: 26.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.01203, allocations: 57.94 kB / 480.1 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.01205, allocations: 3.281 kB / 480.1 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.01207, allocations: 8.5 kB / 480.1 MB, free: 26.57 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01208, allocations: 1.625 kB / 480.1 MB, free: 26.57 MB / 426.7 MB Notification: Performance of Templates: time 0.004289/0.01636, allocations: 0.4919 MB / 480.6 MB, free: 26.55 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.401940101059154]