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.005051/0.005051, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001256/0.001256, allocations: 194.8 kB / 16.68 MB, free: 5.523 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 283.8 kB / 290.8 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 0.9047/0.9047, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.84 kB / 0.6815 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4051, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001599/0.4068, allocations: 0.5705 MB / 0.767 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.4082, allocations: 1.256 MB / 0.7682 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.4082, allocations: 3.938 kB / 0.7682 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.4083, allocations: 0 / 0.7682 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.4083, allocations: 0 / 0.7682 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.4086, allocations: 67.75 kB / 0.7683 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.4087, allocations: 7.984 kB / 0.7683 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.4087, allocations: 4 kB / 0.7683 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.4087, allocations: 4 kB / 0.7683 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.4088, allocations: 0 / 0.7683 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.4088, allocations: 0 / 0.7683 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.409, allocations: 99.88 kB / 0.7684 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.409, allocations: 0 / 0.7684 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.4091, allocations: 4 kB / 0.7684 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.4092, allocations: 55.67 kB / 0.7684 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4092, allocations: 0 / 0.7684 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4092, allocations: 0 / 0.7684 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4092, allocations: 0 / 0.7684 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.0002988/0.4095, allocations: 337.3 kB / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4096, allocations: 8.031 kB / 0.7688 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.4096, allocations: 0.9375 kB / 0.7688 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.4097, allocations: 164.3 kB / 0.7689 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.4097, allocations: 384 / 0.7689 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.4097, allocations: 4.375 kB / 0.7689 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.4098, allocations: 30.02 kB / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.4098, allocations: 0 / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.4098, allocations: 0 / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4098, allocations: 7.984 kB / 0.769 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.4099, allocations: 4 kB / 0.769 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.41, allocations: 151.4 kB / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.41, allocations: 22.55 kB / 0.7691 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.4101, allocations: 4.859 kB / 0.7692 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.4106, allocations: 0.5662 MB / 0.7697 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.4106, allocations: 34.5 kB / 0.7697 GB, free: 240 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4106, allocations: 0 / 0.7697 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.4107, allocations: 33.7 kB / 0.7698 GB, free: 200 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4108, allocations: 51.41 kB / 0.7698 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.4108, allocations: 93.84 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4108, allocations: 25.7 kB / 0.7699 GB, free: 0 / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.4109, allocations: 84.38 kB / 0.77 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.4109, allocations: 7.891 kB / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.4109, allocations: 17.72 kB / 0.77 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.411, allocations: 310.8 kB / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.411, allocations: 3.938 kB / 0.7703 GB, free: 15.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.4111, allocations: 4 kB / 0.7703 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.4111, allocations: 4.859 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4111, allocations: 0 / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/0.4111, allocations: 45.58 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4112, allocations: 7.938 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4112, allocations: 0 / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4112, allocations: 4 kB / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.4112, allocations: 4 kB / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4112, allocations: 3.938 kB / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.4113, allocations: 0 / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.4113, allocations: 4 kB / 0.7704 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 6.233e-05/0.4113, allocations: 109.9 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.4113, allocations: 7.938 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.4114, allocations: 36.81 kB / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4114, allocations: 0 / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4114, allocations: 0 / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.4114, allocations: 0 / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.4115, allocations: 149.7 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4115, allocations: 0 / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.4116, allocations: 3.984 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4116, allocations: 7.969 kB / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.4116, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4116, allocations: 4 kB / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4116, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.308e-05/0.4117, allocations: 57.06 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.4117, allocations: 81.09 kB / 0.7708 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.4117, allocations: 11.94 kB / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.4117, allocations: 4.031 kB / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.4117, allocations: 0 / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4118, allocations: 0 / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.4118, allocations: 75.28 kB / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4118, allocations: 0 / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001794/0.412, allocations: 4 kB / 0.7709 GB, free: 14.84 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.0001314/0.4121, allocations: 111.2 kB / 0.771 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.4122, allocations: 7.938 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4122, allocations: 4.062 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.4122, allocations: 4 kB / 0.7711 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.0001165/0.4123, allocations: 9.031 kB / 0.7711 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001482/0.4125, allocations: 77.06 kB / 0.7711 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.4127, allocations: 0.669 MB / 0.7718 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.4127, allocations: 7.922 kB / 0.7718 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.4127, allocations: 15.5 kB / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4128, allocations: 0 / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.001963/0.4147, allocations: 300.5 kB / 0.7721 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)