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.001234/0.001234, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 186.6 kB / 16.62 MB, free: 6.582 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.212/1.212, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.575/1.575, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.00132/0.00132, allocations: 72.41 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2051, allocations: 114.5 MB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001899/0.2071, allocations: 0.5849 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2086, allocations: 1.276 MB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.566e-05/0.2086, allocations: 0 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.2087, allocations: 0 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.618e-06/0.2087, allocations: 3.938 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.209, allocations: 67.75 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.2091, allocations: 3.938 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.2091, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.2091, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.2092, allocations: 0 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.2092, allocations: 0 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.2094, allocations: 91.89 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.2094, allocations: 4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.2094, allocations: 4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2096, allocations: 43.94 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2096, allocations: 4 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2096, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2096, allocations: 0 / 0.7862 GB, free: 10.57 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.0002905/0.2099, allocations: 327.6 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2099, allocations: 8.031 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.21, allocations: 0.9375 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.2101, allocations: 160.4 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2101, allocations: 8.312 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.2101, allocations: 384 / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.2102, allocations: 37.95 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2102, allocations: 3.984 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2102, allocations: 3.984 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2102, allocations: 0 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.2102, allocations: 4 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.2104, allocations: 145.7 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.2104, allocations: 18.61 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.2104, allocations: 4.859 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.211, allocations: 0.57 MB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.211, allocations: 34.5 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.211, allocations: 0 / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.2111, allocations: 33.7 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2112, allocations: 51.41 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.097e-05/0.2112, allocations: 93.98 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2112, allocations: 25.7 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.2112, allocations: 84.14 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2113, allocations: 3.906 kB / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2113, allocations: 17.7 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.2114, allocations: 310.8 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.2114, allocations: 0 / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.2114, allocations: 3.938 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.2115, allocations: 12.92 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2115, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.019e-05/0.2115, allocations: 37.7 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2116, allocations: 11.88 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2116, allocations: 3.984 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2116, allocations: 3.984 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.2116, allocations: 4 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2116, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.2117, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.2117, allocations: 4.031 kB / 0.7881 GB, free: 8.219 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 5.712e-05/0.2117, allocations: 106.5 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.2117, allocations: 7.875 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.584e-05/0.2118, allocations: 44.81 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2118, allocations: 3.938 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2118, allocations: 0 / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2118, allocations: 0 / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.2119, allocations: 149.7 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2119, allocations: 4 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.212, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.212, allocations: 7.938 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.212, allocations: 0 / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.212, allocations: 3.984 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.212, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.043e-05/0.2121, allocations: 61.08 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.2121, allocations: 81.14 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2121, allocations: 3.938 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.2121, allocations: 0 / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.2122, allocations: 7.984 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2122, allocations: 0 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.2122, allocations: 76.34 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2122, allocations: 0 / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001847/0.2124, allocations: 4 kB / 0.7887 GB, free: 7.562 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.0001488/0.2125, allocations: 115.2 kB / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.2126, allocations: 4 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2126, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.2126, allocations: 11.92 kB / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.2128, allocations: 6.5 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.2129, allocations: 79.81 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2131, allocations: 0.6729 MB / 0.7895 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2132, allocations: 4.125 kB / 0.7895 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.2132, allocations: 7.438 kB / 0.7895 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2132, allocations: 0 / 0.7895 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.002133/0.2153, allocations: 304.6 kB / 0.7898 GB, free: 6.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)