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.001446/0.001447, allocations: 108.4 kB / 15.99 MB, free: 6.371 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.001702/0.001702, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.414/1.414, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.681/1.681, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001364/0.001364, allocations: 72.2 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.228, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001869/0.2299, allocations: 0.6509 MB / 0.7842 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2315, allocations: 1.274 MB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.2315, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2316, allocations: 3.938 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.2316, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2319, allocations: 55.88 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.2e-05/0.232, allocations: 0 / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.232, allocations: 4 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.2321, allocations: 4 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.2321, allocations: 4 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.2321, allocations: 0 / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.2323, allocations: 91.89 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.2323, allocations: 0 / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.2324, allocations: 4 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.881e-05/0.2325, allocations: 35.95 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2325, allocations: 0 / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2325, allocations: 0 / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2325, allocations: 0 / 0.7856 GB, free: 11.72 MB / 0.6075 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.0004308/0.2329, allocations: 323.6 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.233, allocations: 12.03 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.233, allocations: 4.875 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2332, allocations: 168.4 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2332, allocations: 384 / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2332, allocations: 384 / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.2333, allocations: 41.94 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2333, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2333, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2333, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.2334, allocations: 4 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.2336, allocations: 145.7 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.2336, allocations: 30.44 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.2337, allocations: 8.953 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.2343, allocations: 0.5544 MB / 0.7868 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2343, allocations: 38.5 kB / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2343, allocations: 0 / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.2345, allocations: 37.69 kB / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2345, allocations: 55.34 kB / 0.787 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.856e-05/0.2346, allocations: 93.86 kB / 0.7871 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2346, allocations: 25.7 kB / 0.7871 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.2346, allocations: 80.14 kB / 0.7872 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2347, allocations: 3.906 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.2347, allocations: 13.84 kB / 0.7872 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2348, allocations: 318.8 kB / 0.7875 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.2349, allocations: 0 / 0.7875 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-06/0.2349, allocations: 0 / 0.7875 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.2349, allocations: 8.859 kB / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2349, allocations: 0 / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.158e-05/0.235, allocations: 33.69 kB / 0.7875 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.235, allocations: 12.03 kB / 0.7875 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.235, allocations: 4 kB / 0.7875 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.235, allocations: 3.938 kB / 0.7875 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.2351, allocations: 0 / 0.7875 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2351, allocations: 0 / 0.7875 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.2351, allocations: 0 / 0.7875 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2351, allocations: 4 kB / 0.7875 GB, free: 9.375 MB / 0.6075 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 6.939e-05/0.2352, allocations: 106.5 kB / 0.7877 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.2352, allocations: 7.938 kB / 0.7877 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.2353, allocations: 44.81 kB / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2353, allocations: 0 / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2353, allocations: 0 / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2353, allocations: 3.938 kB / 0.7877 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2354, allocations: 146 kB / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2354, allocations: 0 / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.2354, allocations: 4 kB / 0.7878 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2355, allocations: 3.938 kB / 0.7879 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2355, allocations: 0 / 0.7879 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2355, allocations: 11.97 kB / 0.7879 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2355, allocations: 0 / 0.7879 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.2356, allocations: 61.12 kB / 0.7879 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.2356, allocations: 77.11 kB / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.2356, allocations: 3.938 kB / 0.788 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.2356, allocations: 0 / 0.788 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.2357, allocations: 3.938 kB / 0.788 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2357, allocations: 8.031 kB / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.2357, allocations: 75.28 kB / 0.7881 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2357, allocations: 0 / 0.7881 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001893/0.2359, allocations: 8 kB / 0.7881 GB, free: 8.715 MB / 0.6075 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.000208/0.2361, allocations: 115.2 kB / 0.7882 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.2362, allocations: 7.938 kB / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2362, allocations: 0 / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.2362, allocations: 0 / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2364, allocations: 8.125 kB / 0.7882 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.2366, allocations: 106 kB / 0.7883 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2369, allocations: 0.6729 MB / 0.789 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.2369, allocations: 11.44 kB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2369, allocations: 0 / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.00183/0.2388, allocations: 431.6 kB / 0.7894 GB, free: 7.309 MB / 0.6075 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)