Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 112.9 kB / 16.38 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 187.8 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.41 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2278, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001786/0.2296, allocations: 0.5782 MB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2311, allocations: 1.284 MB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.2311, allocations: 4 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.2312, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.2312, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2315, allocations: 59.81 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.2315, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.2316, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.2316, allocations: 7.922 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.251e-05/0.2316, allocations: 4 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-06/0.2317, allocations: 0 / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.2319, allocations: 95.89 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.2319, allocations: 0 / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.2319, allocations: 0 / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.232, allocations: 55.88 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.232, allocations: 0 / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.232, allocations: 3.938 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2321, allocations: 0 / 0.7869 GB, free: 1.035 MB / 0.6544 GB 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.0003097/0.2324, allocations: 323.6 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2324, allocations: 8.031 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2324, allocations: 4.922 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.2325, allocations: 164.4 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2326, allocations: 384 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.2326, allocations: 384 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2327, allocations: 37.95 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2327, allocations: 0 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2327, allocations: 0 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2327, allocations: 0 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.2327, allocations: 4 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.2329, allocations: 149.7 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.2329, allocations: 18.58 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.233, allocations: 8.953 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3913/0.6242, allocations: 0.5522 MB / 0.7881 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6243, allocations: 39.66 kB / 0.7881 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 2.464e-06/0.6243, allocations: 0 / 0.7881 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.6245, allocations: 34.81 kB / 0.7882 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.6245, allocations: 53.84 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.823e-05/0.6245, allocations: 90.8 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.6245, allocations: 29.52 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.032e-05/0.6246, allocations: 80.14 kB / 0.7884 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.6246, allocations: 6.797 kB / 0.7884 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6246, allocations: 11.28 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.6247, allocations: 310.8 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.6247, allocations: 3.438 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.6247, allocations: 3.781 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.6248, allocations: 12.06 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6248, allocations: 0.8125 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.523e-05/0.6248, allocations: 34.88 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6248, allocations: 8.922 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6248, allocations: 3.125 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6249, allocations: 6.312 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.6249, allocations: 0.9844 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6249, allocations: 0 / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.6249, allocations: 10.97 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.625, allocations: 0 / 0.7888 GB, free: 48.29 MB / 0.6544 GB 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 (1): * Single equations (assignments): 1 * 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.606e-05/0.625, allocations: 107.2 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.625, allocations: 8.609 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.6251, allocations: 42.61 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6251, allocations: 0.75 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6251, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.6252, allocations: 77.11 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.6252, allocations: 0.5938 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/0.6252, allocations: 6.688 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.6252, allocations: 1.875 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.892e-05/0.6253, allocations: 116.6 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.324e-05/0.6253, allocations: 205.7 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.464e-05/0.6253, allocations: 1.969 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.096e-05/0.6254, allocations: 76.27 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of Backend: time 4.51e-07/0.6254, allocations: 0 / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.6258, allocations: 114.2 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002138/0.6261, allocations: 0.5243 MB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.002257/0.6283, allocations: 500 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)