Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0006471/0.0006471, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.003931/0.003931, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.173/1.173, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 252 MB / 0.5105 GB, free: 4.668 MB / 414.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.0004653/0.0004653, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006934/0.3899, allocations: 324.6 kB / 0.729 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3914, allocations: 1.279 MB / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-06/0.3914, allocations: 3.938 kB / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.3914, allocations: 0 / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.3915, allocations: 0 / 0.7303 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.3917, allocations: 43.89 kB / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.3918, allocations: 7.984 kB / 0.7303 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.3918, allocations: 8 kB / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.24e-05/0.3919, allocations: 0 / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.3919, allocations: 0 / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3919, allocations: 0 / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.3921, allocations: 103.8 kB / 0.7305 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.3921, allocations: 0 / 0.7305 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3922, allocations: 29.64 kB / 0.7305 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.3923, allocations: 43.94 kB / 0.7305 GB, free: 9.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3923, allocations: 4 kB / 0.7305 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3923, allocations: 0 / 0.7305 GB, free: 9.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3923, allocations: 0 / 0.7305 GB, free: 9.402 MB / 0.545 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.0002623/0.3926, allocations: 327.6 kB / 0.7308 GB, free: 9.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3926, allocations: 8.031 kB / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.3927, allocations: 4.844 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.3928, allocations: 160.4 kB / 0.731 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3928, allocations: 384 / 0.731 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3928, allocations: 4.375 kB / 0.731 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.3929, allocations: 38 kB / 0.731 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3929, allocations: 3.938 kB / 0.7311 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3929, allocations: 4 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3929, allocations: 0 / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.393, allocations: 4 kB / 0.7311 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.3931, allocations: 141.7 kB / 0.7312 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.3931, allocations: 18.61 kB / 0.7312 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.3932, allocations: 4.859 kB / 0.7312 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.3937, allocations: 0.5662 MB / 0.7318 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3937, allocations: 34.5 kB / 0.7318 GB, free: 7.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.3937, allocations: 0 / 0.7318 GB, free: 7.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.3939, allocations: 41.64 kB / 0.7318 GB, free: 7.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.3939, allocations: 51.41 kB / 0.7319 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.84e-05/0.3939, allocations: 89.86 kB / 0.732 GB, free: 7.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.394, allocations: 25.7 kB / 0.732 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.394, allocations: 88.2 kB / 0.7321 GB, free: 7.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.394, allocations: 3.984 kB / 0.7321 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.394, allocations: 9.719 kB / 0.7321 GB, free: 7.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.3941, allocations: 310.8 kB / 0.7324 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.3942, allocations: 4 kB / 0.7324 GB, free: 7.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.3942, allocations: 3.938 kB / 0.7324 GB, free: 7.141 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.3942, allocations: 16.8 kB / 0.7324 GB, free: 7.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3942, allocations: 0 / 0.7324 GB, free: 7.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.843e-05/0.3943, allocations: 33.77 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3943, allocations: 7.938 kB / 0.7325 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3943, allocations: 0 / 0.7325 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3943, allocations: 7.984 kB / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-05/0.3944, allocations: 0 / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3944, allocations: 0 / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-06/0.3944, allocations: 0 / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3944, allocations: 0 / 0.7325 GB, free: 7.066 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 5.999e-05/0.3945, allocations: 109.8 kB / 0.7326 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.3945, allocations: 7.969 kB / 0.7326 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.094e-05/0.3946, allocations: 44.75 kB / 0.7326 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3946, allocations: 0 / 0.7326 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.3946, allocations: 4 kB / 0.7326 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3946, allocations: 0 / 0.7326 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.019e-05/0.3947, allocations: 143.7 kB / 0.7328 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3947, allocations: 0 / 0.7328 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.3947, allocations: 0 / 0.7328 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3947, allocations: 11.97 kB / 0.7328 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3947, allocations: 3.984 kB / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3947, allocations: 0 / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3948, allocations: 0 / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.3948, allocations: 61.08 kB / 0.7328 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.3949, allocations: 85.09 kB / 0.7329 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3949, allocations: 3.938 kB / 0.7329 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.3949, allocations: 0 / 0.7329 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.3949, allocations: 8.016 kB / 0.7329 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.3949, allocations: 0 / 0.7329 GB, free: 6.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.39e-05/0.3949, allocations: 75.28 kB / 0.733 GB, free: 6.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.395, allocations: 3.938 kB / 0.733 GB, free: 6.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001725/0.3951, allocations: 8 kB / 0.733 GB, free: 6.406 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.0001489/0.3953, allocations: 99.25 kB / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.3954, allocations: 4 kB / 0.7331 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3954, allocations: 4.062 kB / 0.7331 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.3954, allocations: 11.98 kB / 0.7331 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.3955, allocations: 0 / 0.7331 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/0.3957, allocations: 82.61 kB / 0.7332 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3959, allocations: 0.6692 MB / 0.7339 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.3959, allocations: 0 / 0.7339 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.3959, allocations: 11.38 kB / 0.7339 GB, free: 5.465 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.3959, allocations: 4.062 kB / 0.7339 GB, free: 5.461 MB / 0.545 GB Notification: Performance of Templates: time 0.001951/0.3979, allocations: 288.6 kB / 0.7341 GB, free: 5.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: