Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7114/0.7114, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001093, allocations: 180.1 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205 MB / 408.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 108.3 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 53.39 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1352, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5): time 0.001526/0.1368, allocations: 0.5902 MB / 0.6322 GB, free: 32.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.137, allocations: 37.25 kB / 0.6323 GB, free: 32.4 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.137, allocations: 0 / 0.6323 GB, free: 32.4 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.137, allocations: 0 / 0.6323 GB, free: 32.4 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1371, allocations: 11.92 kB / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.242e-05/0.1372, allocations: 0 / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.044e-05/0.1372, allocations: 11.94 kB / 0.6323 GB, free: 32.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1373, allocations: 4 kB / 0.6323 GB, free: 32.37 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.1373, allocations: 4 kB / 0.6323 GB, free: 32.37 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.1374, allocations: 11.92 kB / 0.6323 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1374, allocations: 3.984 kB / 0.6323 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.1374, allocations: 4 kB / 0.6323 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.1375, allocations: 4 kB / 0.6323 GB, free: 32.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.1375, allocations: 11.92 kB / 0.6323 GB, free: 32.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 3.82e-05/0.1375, allocations: 4 kB / 0.6324 GB, free: 32.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1375, allocations: 0 / 0.6324 GB, free: 32.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1375, allocations: 4 kB / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1375, allocations: 0 / 0.6324 GB, free: 32.32 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003038/0.1379, allocations: 331.5 kB / 0.6327 GB, free: 31.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1379, allocations: 8.031 kB / 0.6327 GB, free: 31.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1379, allocations: 8.844 kB / 0.6327 GB, free: 31.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.138, allocations: 164.4 kB / 0.6328 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1381, allocations: 4.359 kB / 0.6328 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1381, allocations: 384 / 0.6328 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.431e-05/0.1381, allocations: 30.27 kB / 0.6329 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1381, allocations: 192 / 0.6329 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1382, allocations: 3.938 kB / 0.6329 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1382, allocations: 4 kB / 0.6329 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.1382, allocations: 11.98 kB / 0.6329 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.638e-05/0.1383, allocations: 153.6 kB / 0.633 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.909e-05/0.1383, allocations: 26.52 kB / 0.6331 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.1383, allocations: 8.922 kB / 0.6331 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1384, allocations: 0 / 0.6331 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1384, allocations: 34.56 kB / 0.6331 GB, free: 31.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.1384, allocations: 0 / 0.6331 GB, free: 31.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.1385, allocations: 45.61 kB / 0.6332 GB, free: 31.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1385, allocations: 59.34 kB / 0.6332 GB, free: 31.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.1386, allocations: 105.8 kB / 0.6333 GB, free: 31.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.1386, allocations: 25.7 kB / 0.6333 GB, free: 31.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.1386, allocations: 84.14 kB / 0.6334 GB, free: 31.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1386, allocations: 7.906 kB / 0.6334 GB, free: 31.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.1387, allocations: 13.84 kB / 0.6334 GB, free: 31.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.1387, allocations: 318.8 kB / 0.6337 GB, free: 30.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1387, allocations: 3.984 kB / 0.6337 GB, free: 30.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.1387, allocations: 13.72 kB / 0.6338 GB, free: 30.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.1388, allocations: 25.7 kB / 0.6338 GB, free: 30.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1388, allocations: 0 / 0.6338 GB, free: 30.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.262e-05/0.1388, allocations: 49.69 kB / 0.6338 GB, free: 30.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.1388, allocations: 11.94 kB / 0.6338 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1389, allocations: 3.938 kB / 0.6338 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1389, allocations: 0 / 0.6338 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.1389, allocations: 4.25 kB / 0.6338 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1389, allocations: 0 / 0.6338 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.139, allocations: 4 kB / 0.6339 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.139, allocations: 4 kB / 0.6339 GB, free: 30.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * 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 4.362e-05/0.139, allocations: 122.1 kB / 0.634 GB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.139, allocations: 3.906 kB / 0.634 GB, free: 30.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.1391, allocations: 56.69 kB / 0.634 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1391, allocations: 0 / 0.634 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1391, allocations: 0 / 0.634 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1391, allocations: 0 / 0.634 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.1392, allocations: 157.7 kB / 0.6342 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1392, allocations: 0 / 0.6342 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.1392, allocations: 7.984 kB / 0.6342 GB, free: 30.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1393, allocations: 3.938 kB / 0.6342 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1393, allocations: 7.969 kB / 0.6342 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1393, allocations: 0 / 0.6342 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1393, allocations: 0 / 0.6342 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.1398, allocations: 0.9345 MB / 0.6351 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.1399, allocations: 81.14 kB / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-06/0.1399, allocations: 0 / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.1399, allocations: 0 / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.1399, allocations: 0 / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1399, allocations: 4 kB / 0.6352 GB, free: 28.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.1399, allocations: 91.27 kB / 0.6353 GB, free: 28.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1399, allocations: 3.938 kB / 0.6353 GB, free: 28.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.1402, allocations: 4 kB / 0.6353 GB, free: 28.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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): 2 * 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 Backend phase and start with SimCode phase: time 7.702e-05/0.1403, allocations: 99.34 kB / 0.6354 GB, free: 28.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.1403, allocations: 11.98 kB / 0.6354 GB, free: 28.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1403, allocations: 4 kB / 0.6354 GB, free: 28.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.1404, allocations: 8 kB / 0.6354 GB, free: 28.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1405, allocations: 5.969 kB / 0.6354 GB, free: 28.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.1407, allocations: 226.3 kB / 0.6356 GB, free: 28.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.161e-05/0.1408, allocations: 0.677 MB / 0.6363 GB, free: 27.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.978e-05/0.1408, allocations: 7.938 kB / 0.6363 GB, free: 27.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.1409, allocations: 7.438 kB / 0.6363 GB, free: 27.75 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1409, allocations: 0 / 0.6363 GB, free: 27.75 MB / 442.7 MB Notification: Performance of Templates: time 0.001723/0.1426, allocations: 364.5 kB / 0.6367 GB, free: 27.39 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)