Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 167.5 kB / 25.17 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 205.6 MB, free: 4.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.953/1.953, allocations: 389.6 MB / 0.6364 GB, free: 13.24 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7756 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.743e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001697/0.001714, allocations: 0.6501 MB / 0.7763 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.003647, allocations: 1.318 MB / 0.7775 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.00367, allocations: 4 kB / 0.7775 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.003687, allocations: 0 / 0.7775 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.003694, allocations: 4 kB / 0.7775 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.004079, allocations: 63.62 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.004129, allocations: 4 kB / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.004169, allocations: 0 / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.004202, allocations: 3.938 kB / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.004256, allocations: 4 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.004268, allocations: 3.938 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.004626, allocations: 115.9 kB / 0.7777 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.004636, allocations: 0 / 0.7777 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.004653, allocations: 4 kB / 0.7777 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.004811, allocations: 71.84 kB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004814, allocations: 0 / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004815, allocations: 0 / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004819, allocations: 0 / 0.7778 GB, free: 12.2 MB / 0.7448 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.0002936/0.005113, allocations: 228.6 kB / 0.778 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.005161, allocations: 12.03 kB / 0.778 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.005193, allocations: 0.9375 kB / 0.778 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.005285, allocations: 105.8 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.005301, allocations: 384 / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.005314, allocations: 384 / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.005411, allocations: 38.2 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005421, allocations: 192 / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.005431, allocations: 4.359 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.00544, allocations: 3.938 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.271e-05/0.005452, allocations: 3.938 kB / 0.7782 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.787e-05/0.00555, allocations: 60.98 kB / 0.7782 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.005595, allocations: 22.59 kB / 0.7783 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.005609, allocations: 4.859 kB / 0.7783 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.005935, allocations: 48.03 kB / 0.7783 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.005969, allocations: 38.5 kB / 0.7784 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.005971, allocations: 0 / 0.7784 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.006098, allocations: 33.69 kB / 0.7784 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.006136, allocations: 51.41 kB / 0.7784 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.559e-05/0.006172, allocations: 89.86 kB / 0.7785 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.006192, allocations: 33.7 kB / 0.7786 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.00622, allocations: 80.14 kB / 0.7786 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.006257, allocations: 4.422 kB / 0.7786 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.006287, allocations: 17.7 kB / 0.7786 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.006394, allocations: 318.8 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.006401, allocations: 0 / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-06/0.006408, allocations: 0 / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.00644, allocations: 16.78 kB / 0.779 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006442, allocations: 0 / 0.779 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.446e-05/0.006497, allocations: 29.7 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.006512, allocations: 4 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.006518, allocations: 0 / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006531, allocations: 8.094 kB / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.006579, allocations: 0 / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006583, allocations: 0 / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.006595, allocations: 0 / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.006604, allocations: 3.938 kB / 0.779 GB, free: 10.82 MB / 0.7448 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 7.049e-05/0.006674, allocations: 113.8 kB / 0.7791 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.00668, allocations: 0 / 0.7791 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.006805, allocations: 40.64 kB / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006807, allocations: 4.031 kB / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006809, allocations: 0 / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006813, allocations: 0 / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.776e-05/0.006881, allocations: 69.83 kB / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006883, allocations: 0 / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.006898, allocations: 0 / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006902, allocations: 3.938 kB / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-06/0.006906, allocations: 0 / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.00691, allocations: 4 kB / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.006912, allocations: 0 / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.202e-05/0.006974, allocations: 61 kB / 0.7793 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.006978, allocations: 4.031 kB / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.006986, allocations: 4 kB / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.006993, allocations: 0 / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.007007, allocations: 0 / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.00701, allocations: 0 / 0.7793 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.095e-06/0.007018, allocations: 4.859 kB / 0.7793 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007018, allocations: 0 / 0.7793 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001838/0.007202, allocations: 8 kB / 0.7793 GB, free: 10.45 MB / 0.7448 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 (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.00016/0.007362, allocations: 100.3 kB / 0.7794 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.00743, allocations: 16.84 kB / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.007437, allocations: 0 / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-06/0.007445, allocations: 12.8 kB / 0.7794 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.11e-05/0.007506, allocations: 3.938 kB / 0.7794 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.007713, allocations: 108 kB / 0.7795 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.007754, allocations: 55.36 kB / 0.7796 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.007787, allocations: 47.38 kB / 0.7796 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.007788, allocations: 0 / 0.7796 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.001694/0.009482, allocations: 0.5198 MB / 0.7802 GB, free: 9.527 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.657712901011109]