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.9368/0.9368, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 185.1 kB / 187.3 MB, free: 11.87 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.482/1.482, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.001177/0.001177, allocations: 97.34 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001866, allocations: 274.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.497e-05, allocations: 8 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4848, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.617, allocations: 108.9 MB / 0.8706 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.6173, allocations: 85.27 kB / 0.8707 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005172/0.6225, allocations: 1.695 MB / 0.8723 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6226, allocations: 0.5938 kB / 0.8723 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6226, allocations: 0 / 0.8723 GB, free: 13.93 MB / 0.5417 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.0003391/0.623, allocations: 323.3 kB / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.623, allocations: 15.55 kB / 0.8726 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.6231, allocations: 4 kB / 0.8727 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6232, allocations: 159.1 kB / 0.8728 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6232, allocations: 3.953 kB / 0.8728 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.6232, allocations: 0 / 0.8728 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6233, allocations: 29.64 kB / 0.8728 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6234, allocations: 0 / 0.8728 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6234, allocations: 8 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6234, allocations: 1.562 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/0.6234, allocations: 0 / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.6236, allocations: 145.7 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.6236, allocations: 19.14 kB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.6237, allocations: 9.625 kB / 0.873 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.6242, allocations: 0.5621 MB / 0.8736 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.6243, allocations: 30.56 kB / 0.8736 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.6243, allocations: 7.938 kB / 0.8736 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.6244, allocations: 37.67 kB / 0.8736 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.6245, allocations: 51.41 kB / 0.8737 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.6246, allocations: 88.44 kB / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.6246, allocations: 29.64 kB / 0.8738 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.6246, allocations: 84.14 kB / 0.8739 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.6247, allocations: 7.875 kB / 0.8739 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6247, allocations: 0 / 0.8739 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6248, allocations: 310.8 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.6249, allocations: 4 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.6249, allocations: 0 / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.6249, allocations: 3.5 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6249, allocations: 0 / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.609e-05/0.625, allocations: 41.62 kB / 0.8742 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.625, allocations: 7.953 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.625, allocations: 0 / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.625, allocations: 0 / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.6251, allocations: 4 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6251, allocations: 0 / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.6251, allocations: 4.125 kB / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6251, allocations: 0 / 0.8742 GB, free: 11.64 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.6252, allocations: 101 kB / 0.8743 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.6252, allocations: 8 kB / 0.8743 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.6253, allocations: 44.7 kB / 0.8744 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6253, allocations: 0 / 0.8744 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6254, allocations: 0 / 0.8744 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6254, allocations: 4.031 kB / 0.8744 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.6255, allocations: 149.6 kB / 0.8745 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6255, allocations: 0 / 0.8745 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.6255, allocations: 0 / 0.8745 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6255, allocations: 3.984 kB / 0.8745 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6255, allocations: 4 kB / 0.8745 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.6255, allocations: 7.953 kB / 0.8745 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6256, allocations: 0 / 0.8745 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.101e-05/0.6256, allocations: 57.14 kB / 0.8746 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.6257, allocations: 77.11 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.6257, allocations: 7.984 kB / 0.8747 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.6257, allocations: 0 / 0.8747 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.6257, allocations: 3.953 kB / 0.8747 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.6257, allocations: 0 / 0.8747 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.6258, allocations: 79.22 kB / 0.8748 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.304e-06/0.6258, allocations: 0 / 0.8748 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002099/0.626, allocations: 15.94 kB / 0.8748 GB, free: 11 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.6262, allocations: 107.3 kB / 0.8749 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.6263, allocations: 4 kB / 0.8749 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6263, allocations: 0 / 0.8749 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.6263, allocations: 7.938 kB / 0.8749 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.451e-05/0.6264, allocations: 4.547 kB / 0.8749 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.6265, allocations: 47.88 kB / 0.8749 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.6268, allocations: 0.6731 MB / 0.8756 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.6268, allocations: 9.672 kB / 0.8756 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.6269, allocations: 7.438 kB / 0.8756 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.6269, allocations: 0 / 0.8756 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.002059/0.6289, allocations: 291.8 kB / 0.8759 GB, free: 9.801 MB / 0.5417 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)