Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.00124/0.00124, allocations: 79.73 kB / 20.75 MB, free: 3.738 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.001556/0.001556, allocations: 165 kB / 24.16 MB, free: 336 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.595/0.595, 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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 422.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.398e-05, allocations: 2.312 kB / 422.4 MB, free: 9.363 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01038/0.01041, allocations: 10.13 MB / 432.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.01643, allocations: 3.987 MB / 436.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000765/0.01719, allocations: 63.38 kB / 436.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.01803, allocations: 0.5048 MB / 437.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01975, allocations: 1.088 MB / 438.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.02147, allocations: 1.068 MB / 439.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.02387, allocations: 2.558 MB / 441.8 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009291/0.0248, allocations: 0.6807 MB / 442.5 MB, free: 5.184 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.02633, allocations: 1.274 MB / 443.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008016/0.02713, allocations: 0.662 MB / 444.4 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.02725, allocations: 68 kB / 444.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.02778, allocations: 271.5 kB / 444.8 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.02799, allocations: 306.7 kB / 445.1 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.0283, allocations: 362.9 kB / 445.4 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.0292, allocations: 1.016 MB / 446.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02921, allocations: 0 / 446.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.02921, allocations: 0 / 446.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.02922, allocations: 0 / 446.4 MB, free: 1.234 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.1984/0.2276, allocations: 1.457 MB / 447.9 MB, free: 32.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2276, allocations: 8.969 kB / 447.9 MB, free: 32.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.2289, allocations: 436.3 kB / 448.3 MB, free: 32.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2299, allocations: 0.7552 MB / 449.1 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.23, allocations: 56.89 kB / 449.1 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.23, allocations: 73.72 kB / 449.2 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2311, allocations: 0.7936 MB / 450 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2311, allocations: 2.5 kB / 450 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.2311, allocations: 31.89 kB / 450 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2311, allocations: 18.06 kB / 450 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2316, allocations: 299.7 kB / 450.3 MB, free: 31.87 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.2342, allocations: 3.341 MB / 453.7 MB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.2347, allocations: 390.8 kB / 454.1 MB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2349, allocations: 133.7 kB / 454.2 MB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.2351, allocations: 57.17 kB / 454.3 MB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.2354, allocations: 279.8 kB / 454.5 MB, free: 29.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 1.874e-06/0.2354, allocations: 0.6562 kB / 454.5 MB, free: 29.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=61): time 0.0006602/0.2361, allocations: 423.5 kB / 454.9 MB, free: 29.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.2361, allocations: 59.19 kB / 455 MB, free: 29.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.2368, allocations: 0.8588 MB / 455.9 MB, free: 29.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.2368, allocations: 38.98 kB / 455.9 MB, free: 29.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.237, allocations: 414.7 kB / 456.3 MB, free: 28.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2371, allocations: 218.3 kB / 456.5 MB, free: 28.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.2373, allocations: 157.3 kB / 456.7 MB, free: 28.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.2373, allocations: 341.3 kB / 457 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.2375, allocations: 102.6 kB / 457.1 MB, free: 28.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.2378, allocations: 0.5939 MB / 457.7 MB, free: 27.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.2383, allocations: 0.5096 MB / 458.2 MB, free: 27.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2383, allocations: 3.406 kB / 458.2 MB, free: 27.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006471/0.2389, allocations: 0.5158 MB / 458.7 MB, free: 27.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.239, allocations: 11.47 kB / 458.7 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.239, allocations: 8.812 kB / 458.7 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.239, allocations: 11.84 kB / 458.8 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.2394, allocations: 215 kB / 459 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.2395, allocations: 14.56 kB / 459 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.2398, allocations: 120 kB / 459.1 MB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.2399, allocations: 33.62 kB / 459.1 MB, free: 27.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.2401, allocations: 176.7 kB / 459.3 MB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2402, allocations: 86.03 kB / 459.4 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.2409, allocations: 0.5946 MB / 460 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.2409, allocations: 14.67 kB / 460 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.2409, allocations: 0 / 460 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2409, allocations: 4 kB / 460 MB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2421, allocations: 1.144 MB / 461.1 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.2421, allocations: 6.25 kB / 461.1 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.2424, allocations: 139.6 kB / 461.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.2424, allocations: 5.938 kB / 461.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.2425, allocations: 20.73 kB / 461.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2425, allocations: 9.094 kB / 461.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2425, allocations: 2.812 kB / 461.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.2432, allocations: 0.7796 MB / 462.1 MB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2434, allocations: 153.7 kB / 462.2 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/0.2435, allocations: 19.8 kB / 462.3 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.2437, allocations: 57.31 kB / 462.3 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.2438, allocations: 51.88 kB / 462.4 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.2439, allocations: 36.86 kB / 462.4 MB, free: 26.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.2442, allocations: 431.9 kB / 462.8 MB, free: 26.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2442, allocations: 1.469 kB / 462.8 MB, free: 26.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005917/0.2447, allocations: 284.6 kB / 463.1 MB, free: 26.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.246, allocations: 0.5811 MB / 463.7 MB, free: 26.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.2465, allocations: 435 kB / 464.1 MB, free: 26.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.2466, allocations: 12 kB / 464.1 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.2468, allocations: 236.3 kB / 464.4 MB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.2476, allocations: 404.3 kB / 464.8 MB, free: 25.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2496, allocations: 1.856 MB / 466.6 MB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2497, allocations: 236.3 kB / 466.8 MB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.2502, allocations: 191.3 kB / 467 MB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.2507, allocations: 345 kB / 467.4 MB, free: 23.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2507, allocations: 0 / 467.4 MB, free: 23.2 MB / 410.7 MB Notification: Performance of Templates: time 0.0238/0.2745, allocations: 17.9 MB / 485.3 MB, free: 6.273 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9072442105971277]