Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8516/0.8516, 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.001239/0.001239, allocations: 191 kB / 174.2 MB, free: 5.941 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.72/1.72, allocations: 205 MB / 408.9 MB, free: 9.766 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.00112/0.00112, allocations: 98.34 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 57.33 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2205, allocations: 75.48 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.004682/0.2252, allocations: 1.542 MB / 0.6332 GB, free: 31.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2266, allocations: 0.6987 MB / 0.6339 GB, free: 30.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.2267, allocations: 4 kB / 0.6339 GB, free: 30.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.078e-05/0.2268, allocations: 3.984 kB / 0.6339 GB, free: 30.76 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.2269, allocations: 3.938 kB / 0.6339 GB, free: 30.76 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.2273, allocations: 55.81 kB / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2275, allocations: 39.86 kB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2276, allocations: 19.92 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.2277, allocations: 8 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.2278, allocations: 19.86 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2278, allocations: 4 kB / 0.634 GB, free: 30.61 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.228, allocations: 91.89 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2281, allocations: 7.984 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2281, allocations: 23.86 kB / 0.6341 GB, free: 30.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.2283, allocations: 75.84 kB / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2283, allocations: 3.938 kB / 0.6342 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2283, allocations: 0 / 0.6342 GB, free: 30.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2283, allocations: 0 / 0.6342 GB, free: 30.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004935/0.2288, allocations: 363.7 kB / 0.6346 GB, free: 30.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2288, allocations: 8.031 kB / 0.6346 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2289, allocations: 8.844 kB / 0.6346 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.229, allocations: 176.2 kB / 0.6347 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.229, allocations: 8.375 kB / 0.6348 GB, free: 29.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2291, allocations: 4.375 kB / 0.6348 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2293, allocations: 54 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2293, allocations: 0 / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2293, allocations: 4 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2293, allocations: 0 / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.2295, allocations: 31.91 kB / 0.6348 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.23, allocations: 280.7 kB / 0.6351 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2301, allocations: 30.58 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.2302, allocations: 16.91 kB / 0.6352 GB, free: 29.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.2308, allocations: 0.5544 MB / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2308, allocations: 38.5 kB / 0.6357 GB, free: 28.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.2308, allocations: 0 / 0.6357 GB, free: 28.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004/0.2312, allocations: 65.67 kB / 0.6358 GB, free: 28.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2313, allocations: 51.41 kB / 0.6358 GB, free: 28.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2314, allocations: 121.8 kB / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2315, allocations: 25.7 kB / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.2315, allocations: 88.14 kB / 0.6361 GB, free: 28.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.2316, allocations: 12.03 kB / 0.6361 GB, free: 28.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.2316, allocations: 13.72 kB / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2317, allocations: 322.8 kB / 0.6364 GB, free: 27.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.2318, allocations: 4 kB / 0.6364 GB, free: 27.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.2319, allocations: 15.92 kB / 0.6364 GB, free: 27.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.232, allocations: 28.84 kB / 0.6364 GB, free: 27.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.232, allocations: 4.062 kB / 0.6365 GB, free: 27.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001533/0.2322, allocations: 53.59 kB / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2322, allocations: 8 kB / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2322, allocations: 3.938 kB / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.2323, allocations: 0 / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2324, allocations: 11.98 kB / 0.6365 GB, free: 27.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2324, allocations: 0 / 0.6365 GB, free: 27.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.2325, allocations: 7.938 kB / 0.6365 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2325, allocations: 3.938 kB / 0.6365 GB, free: 27.68 MB / 442.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): 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 0.0001082/0.2326, allocations: 117.8 kB / 0.6367 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.2327, allocations: 11.91 kB / 0.6367 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2329, allocations: 57.2 kB / 0.6367 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2329, allocations: 0 / 0.6367 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.233, allocations: 4 kB / 0.6367 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.233, allocations: 0 / 0.6367 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2332, allocations: 169.6 kB / 0.6369 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2332, allocations: 3.984 kB / 0.6369 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.2333, allocations: 12.02 kB / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2333, allocations: 0 / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2333, allocations: 0 / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2333, allocations: 0 / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2334, allocations: 0 / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.234, allocations: 0.7161 MB / 0.6376 GB, free: 26.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.2341, allocations: 81.11 kB / 0.6377 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.2341, allocations: 3.938 kB / 0.6377 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2343, allocations: 3.984 kB / 0.6377 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2344, allocations: 3.938 kB / 0.6377 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2344, allocations: 4 kB / 0.6377 GB, free: 26.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.2344, allocations: 95.27 kB / 0.6378 GB, free: 26.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2345, allocations: 0 / 0.6378 GB, free: 26.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005677/0.235, allocations: 12 kB / 0.6378 GB, free: 26.26 MB / 442.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): 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 0.0002735/0.2353, allocations: 112.1 kB / 0.6379 GB, free: 26.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2355, allocations: 19.98 kB / 0.6379 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2356, allocations: 0 / 0.6379 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.2356, allocations: 8 kB / 0.6379 GB, free: 26.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.236, allocations: 10.03 kB / 0.6379 GB, free: 26.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.2366, allocations: 251 kB / 0.6382 GB, free: 25.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2369, allocations: 0.6809 MB / 0.6388 GB, free: 25.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.2369, allocations: 11.97 kB / 0.6389 GB, free: 25.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.237, allocations: 7.438 kB / 0.6389 GB, free: 25.09 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.237, allocations: 0 / 0.6389 GB, free: 25.09 MB / 442.7 MB Notification: Performance of Templates: time 0.003494/0.2405, allocations: 471.7 kB / 0.6393 GB, free: 24.63 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)