Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.849/2.849, allocations: 287.5 MB / 302.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001275, allocations: 170.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008986/0.000898, allocations: 104.3 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005045, allocations: 17.83 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2338, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008063/0.2347, allocations: 319.5 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.236, allocations: 0.9413 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.2361, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.2361, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.2361, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2365, allocations: 47.88 kB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.2365, allocations: 0 / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.2366, allocations: 8 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.2366, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.2366, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.2367, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.2369, allocations: 87.91 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-06/0.2369, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.237, allocations: 25.7 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2371, allocations: 39.88 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2371, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2371, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2371, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 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.0002523/0.2374, allocations: 327.4 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2374, allocations: 12.03 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2375, allocations: 0 / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.2375, allocations: 167 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2376, allocations: 0 / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2376, allocations: 0 / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.2377, allocations: 29.7 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2377, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2377, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2377, allocations: 4 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.2378, allocations: 0 / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.2379, allocations: 157.6 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/0.238, allocations: 22.52 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.238, allocations: 4.859 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.2386, allocations: 0.5584 MB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2386, allocations: 42.5 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/0.2386, allocations: 0 / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.2388, allocations: 37.62 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.2388, allocations: 51.41 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.244e-05/0.2388, allocations: 89.86 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.2389, allocations: 25.7 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.2389, allocations: 84.27 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.2389, allocations: 7.906 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2389, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.239, allocations: 310.8 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.239, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.2391, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.2391, allocations: 4 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2391, allocations: 3.953 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.973e-05/0.2392, allocations: 33.78 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2392, allocations: 8 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2392, allocations: 4 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2392, allocations: 3.938 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.2393, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2393, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.2393, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.2394, allocations: 8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 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.555e-05/0.2394, allocations: 105.8 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.2394, allocations: 3.953 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2396, allocations: 44.81 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2396, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2396, allocations: 4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2396, allocations: 0 / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.396e-05/0.2397, allocations: 146 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2397, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.2397, allocations: 3.953 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2397, allocations: 4 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2397, allocations: 4.031 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2398, allocations: 7.875 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2398, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.2398, allocations: 57.14 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.2399, allocations: 81.09 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2399, allocations: 3.953 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.2399, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.2399, allocations: 4.031 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.24, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.717e-05/0.24, allocations: 75.28 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.24, allocations: 3.938 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002509/0.2403, allocations: 8 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB 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 (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 Backend phase and start with SimCode phase: time 0.0001698/0.2404, allocations: 107.2 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.2405, allocations: 11.94 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2405, allocations: 0 / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.2406, allocations: 8.062 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.2407, allocations: 0 / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.2409, allocations: 70.77 kB / 0.9824 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2411, allocations: 0.677 MB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.2411, allocations: 0 / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.2411, allocations: 7.438 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2412, allocations: 4.062 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.002735/0.2439, allocations: 296.9 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)