Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.367/2.367, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 181.2 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.388/2.388, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009753/0.0009752, allocations: 83.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 13.06 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007315/0.2139, allocations: 318.4 kB / 0.8998 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2152, allocations: 0.9542 MB / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.2153, allocations: 0 / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2153, allocations: 3.938 kB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-06/0.2153, allocations: 0 / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.2156, allocations: 51.81 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.2157, allocations: 4 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.2158, allocations: 0 / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.2158, allocations: 4 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.2158, allocations: 4 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.2159, allocations: 0 / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.2161, allocations: 91.83 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.094e-06/0.2161, allocations: 0 / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.2162, allocations: 25.7 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.2163, allocations: 35.95 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2163, allocations: 0 / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2163, allocations: 0 / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2163, allocations: 0 / 0.901 GB, free: 64.02 MB / 0.6042 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.0002375/0.2165, allocations: 319.5 kB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2166, allocations: 12.03 kB / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2166, allocations: 0.9375 kB / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.712e-05/0.2167, allocations: 168.3 kB / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2167, allocations: 4.375 kB / 0.9014 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2168, allocations: 384 / 0.9014 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.2168, allocations: 26.27 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2169, allocations: 192 / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2169, allocations: 3.938 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2169, allocations: 0 / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.2169, allocations: 4 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.217, allocations: 149.7 kB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.2171, allocations: 26.55 kB / 0.9016 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.2171, allocations: 4.859 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.2177, allocations: 0.5545 MB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2177, allocations: 42.55 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.2177, allocations: 0 / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.2179, allocations: 45.55 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.2179, allocations: 51.41 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.265e-05/0.2179, allocations: 89.86 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.2179, allocations: 25.7 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.48e-05/0.218, allocations: 80.14 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.218, allocations: 3.938 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.218, allocations: 4.125 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.2181, allocations: 310.8 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.2181, allocations: 7.938 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.2181, allocations: 0 / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.2181, allocations: 11.92 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2181, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.749e-05/0.2182, allocations: 33.7 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2182, allocations: 4 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2183, allocations: 0 / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2183, allocations: 8.031 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.2183, allocations: 4 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2184, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.2184, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2184, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.2185, allocations: 109.8 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.2185, allocations: 7.938 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2186, allocations: 40.83 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2186, allocations: 3.938 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2186, allocations: 0 / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.2186, allocations: 77.11 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2187, allocations: 7.984 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.2187, allocations: 0 / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.2187, allocations: 0 / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.026e-05/0.2188, allocations: 108.9 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.57e-05/0.2189, allocations: 214.8 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.718e-05/0.2189, allocations: 4 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.462e-05/0.2189, allocations: 75.28 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of Backend: time 5.21e-07/0.2189, allocations: 0 / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.2194, allocations: 98.39 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002432/0.2197, allocations: 0.5312 MB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.002976/0.2226, allocations: 0.5075 MB / 0.9046 GB, free: 59.82 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)