Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9912/0.9912, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 189.8 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.77 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.0019, allocations: 286.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 87.88 kB / 0.6885 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3867, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001653/0.3884, allocations: 0.6354 MB / 0.7685 GB, free: 27.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3896, allocations: 1.249 MB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.868e-06/0.3897, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.3897, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.3897, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.39, allocations: 47.89 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.3901, allocations: 11.98 kB / 0.7698 GB, free: 25.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.3901, allocations: 3.938 kB / 0.7698 GB, free: 25.69 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.3901, allocations: 3.938 kB / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.3902, allocations: 0 / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.3902, allocations: 4 kB / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3904, allocations: 95.83 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.3904, allocations: 0 / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.3904, allocations: 0 / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3905, allocations: 51.94 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3906, allocations: 4 kB / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3906, allocations: 0 / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.3906, allocations: 0 / 0.77 GB, free: 25.53 MB / 458.7 MB 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.0002172/0.3908, allocations: 319.6 kB / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3908, allocations: 12.03 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3909, allocations: 0.9375 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.176e-05/0.3909, allocations: 164.4 kB / 0.7705 GB, free: 24.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3909, allocations: 384 / 0.7705 GB, free: 24.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.3909, allocations: 384 / 0.7705 GB, free: 24.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.391, allocations: 42 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.391, allocations: 0 / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.391, allocations: 0 / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.391, allocations: 0 / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.3911, allocations: 7.875 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.314e-05/0.3912, allocations: 149.7 kB / 0.7706 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.071e-05/0.3912, allocations: 18.58 kB / 0.7707 GB, free: 24.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.3912, allocations: 8.953 kB / 0.7707 GB, free: 24.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.3916, allocations: 0.5622 MB / 0.7712 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3916, allocations: 34.5 kB / 0.7713 GB, free: 23.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3916, allocations: 0 / 0.7713 GB, free: 23.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.3917, allocations: 37.64 kB / 0.7713 GB, free: 23.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.3918, allocations: 51.41 kB / 0.7713 GB, free: 23.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.338e-05/0.3918, allocations: 93.98 kB / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.3918, allocations: 25.7 kB / 0.7715 GB, free: 23.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-06/0.3918, allocations: 84.14 kB / 0.7715 GB, free: 23.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.3918, allocations: 6.656 kB / 0.7715 GB, free: 23.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.3919, allocations: 9.719 kB / 0.7715 GB, free: 23.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.3919, allocations: 314.8 kB / 0.7718 GB, free: 23.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.3919, allocations: 4 kB / 0.7719 GB, free: 23.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.3919, allocations: 0 / 0.7719 GB, free: 23.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.392, allocations: 12.92 kB / 0.7719 GB, free: 23.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.392, allocations: 0 / 0.7719 GB, free: 23.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.174e-05/0.392, allocations: 37.55 kB / 0.7719 GB, free: 23.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.392, allocations: 7.938 kB / 0.7719 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.392, allocations: 7.922 kB / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.392, allocations: 4 kB / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.3921, allocations: 0 / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3921, allocations: 0 / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.3921, allocations: 0 / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3921, allocations: 4.031 kB / 0.7719 GB, free: 23.19 MB / 458.7 MB 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 3.643e-05/0.3922, allocations: 110.6 kB / 0.772 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.3922, allocations: 7.938 kB / 0.772 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.3923, allocations: 44.73 kB / 0.7721 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3923, allocations: 0 / 0.7721 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3923, allocations: 4 kB / 0.7721 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3923, allocations: 0 / 0.7721 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.284e-05/0.3923, allocations: 145.7 kB / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3923, allocations: 0 / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.3924, allocations: 0 / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3924, allocations: 11.88 kB / 0.7722 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.3924, allocations: 3.984 kB / 0.7722 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3924, allocations: 0 / 0.7722 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3924, allocations: 0 / 0.7722 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3925, allocations: 0.6084 MB / 0.7728 GB, free: 22.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.3926, allocations: 77.11 kB / 0.7729 GB, free: 22.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.3926, allocations: 0 / 0.7729 GB, free: 22.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-06/0.3926, allocations: 0 / 0.7729 GB, free: 22.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3926, allocations: 0 / 0.7729 GB, free: 22.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.3926, allocations: 4 kB / 0.7729 GB, free: 22.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.057e-05/0.3926, allocations: 75.28 kB / 0.773 GB, free: 21.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3926, allocations: 4 kB / 0.773 GB, free: 21.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.393, allocations: 8 kB / 0.773 GB, free: 21.96 MB / 458.7 MB 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.0001264/0.3931, allocations: 111.2 kB / 0.7731 GB, free: 21.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.218e-05/0.3932, allocations: 7.875 kB / 0.7731 GB, free: 21.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3932, allocations: 4 kB / 0.7731 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.3932, allocations: 4 kB / 0.7731 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.3933, allocations: 0 / 0.7731 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001806/0.3935, allocations: 173.6 kB / 0.7733 GB, free: 21.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.3936, allocations: 0.6771 MB / 0.7739 GB, free: 20.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.3937, allocations: 4 kB / 0.7739 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.3937, allocations: 7.438 kB / 0.774 GB, free: 20.89 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3937, allocations: 0 / 0.774 GB, free: 20.89 MB / 458.7 MB Notification: Performance of Templates: time 0.001862/0.3956, allocations: 304.5 kB / 0.7742 GB, free: 20.6 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)