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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.6 kB / 16.41 MB, free: 6.504 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.001817/0.001817, allocations: 185.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002548/0.002548, allocations: 295.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 99.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4189, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001668/0.4205, allocations: 0.5785 MB / 0.7677 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.4223, allocations: 1.264 MB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.4223, allocations: 0 / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.4223, allocations: 0 / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-06/0.4223, allocations: 0 / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.4227, allocations: 67.75 kB / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.4227, allocations: 4 kB / 0.769 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.4228, allocations: 0 / 0.769 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.4228, allocations: 3.984 kB / 0.769 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.4228, allocations: 0 / 0.769 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4228, allocations: 4 kB / 0.769 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.4231, allocations: 95.89 kB / 0.7691 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-06/0.4231, allocations: 0 / 0.7691 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.4231, allocations: 8 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.4233, allocations: 55.67 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4233, allocations: 0 / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4233, allocations: 0 / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.4233, allocations: 0 / 0.7691 GB, free: 1.836 MB / 0.5294 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.0003658/0.4236, allocations: 329.3 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4237, allocations: 12.03 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.4237, allocations: 4.938 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4238, allocations: 164.4 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4238, allocations: 384 / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.4239, allocations: 384 / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.424, allocations: 37.95 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.424, allocations: 0 / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.424, allocations: 0 / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.424, allocations: 0 / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.424, allocations: 0 / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.4242, allocations: 163.4 kB / 0.7698 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.4242, allocations: 22.5 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.4242, allocations: 8.797 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.4249, allocations: 0.5623 MB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4249, allocations: 38.48 kB / 0.7704 GB, free: 232 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4249, allocations: 4 kB / 0.7704 GB, free: 228 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.425, allocations: 29.7 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.4251, allocations: 51.41 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.4251, allocations: 93.86 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4252, allocations: 25.7 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.4252, allocations: 80.14 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.4252, allocations: 7.953 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.4253, allocations: 9.719 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4254, allocations: 319 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.4254, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.4254, allocations: 7.922 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.4255, allocations: 8.859 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4255, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.344e-05/0.4255, allocations: 33.7 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4255, allocations: 15.88 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4255, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4255, allocations: 4.094 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.708e-05/0.4256, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.4256, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.4256, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4256, allocations: 4 kB / 0.7711 GB, free: 15.48 MB / 0.545 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.513e-05/0.4257, allocations: 113.8 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.4257, allocations: 3.938 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4258, allocations: 40.83 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4258, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4258, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4258, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4259, allocations: 149.7 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4259, allocations: 4 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.4259, allocations: 4 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4259, allocations: 3.938 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.4259, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4259, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4259, allocations: 32 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.876e-05/0.426, allocations: 69.06 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.426, allocations: 77.11 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.4261, allocations: 3.938 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-06/0.4261, allocations: 0 / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.4261, allocations: 7.922 kB / 0.7715 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4261, allocations: 4 kB / 0.7715 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.4261, allocations: 79.31 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4261, allocations: 0 / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001903/0.4263, allocations: 4 kB / 0.7716 GB, free: 14.83 MB / 0.545 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.0001657/0.4265, allocations: 111.2 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.4266, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4266, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.4266, allocations: 3.938 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.4267, allocations: 4 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.4269, allocations: 85.17 kB / 0.7718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4272, allocations: 0.6728 MB / 0.7725 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.4272, allocations: 4 kB / 0.7725 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.4272, allocations: 7.438 kB / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4272, allocations: 0 / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.002484/0.4297, allocations: 303.6 kB / 0.7728 GB, free: 13.59 MB / 0.545 GB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)