Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.066/5.066, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003878/0.003877, allocations: 357.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.201/4.201, allocations: 410.7 MB / 1.112 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 181.4 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005141, allocations: 20 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.5892, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005888/0.5899, allocations: 324.3 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.591, allocations: 0.9437 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.591, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.921e-06/0.591, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-06/0.591, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.5913, allocations: 45.98 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.282e-05/0.5913, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.5914, allocations: 7.984 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.5914, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.5914, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.36e-06/0.5915, allocations: 1.844 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.5916, allocations: 87.84 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.909e-06/0.5917, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.5917, allocations: 25.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.5918, allocations: 31.95 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.5918, allocations: 1.906 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.869e-06/0.5918, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5918, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 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.0002038/0.592, allocations: 323.4 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5921, allocations: 20.19 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.5921, allocations: 6.531 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.607e-05/0.5922, allocations: 163 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5922, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-06/0.5922, allocations: 0.5938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.5923, allocations: 39.53 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-06/0.5923, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-06/0.5923, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-06/0.5924, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.5924, allocations: 3.938 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.5925, allocations: 151.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.5925, allocations: 14.58 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.5926, allocations: 5.547 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004239/0.593, allocations: 0.5654 MB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.593, allocations: 35.66 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.94e-06/0.593, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.5932, allocations: 37.64 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.5932, allocations: 52.19 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.873e-05/0.5932, allocations: 95.84 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.215e-06/0.5933, allocations: 25.7 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.327e-05/0.5933, allocations: 80.14 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.5933, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-06/0.5933, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.5934, allocations: 312.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-06/0.5934, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-06/0.5934, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.5934, allocations: 4.812 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5934, allocations: 4.797 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.224e-05/0.5935, allocations: 37.64 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5935, allocations: 4.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-06/0.5936, allocations: 9.234 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5936, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.5936, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-06/0.5936, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.5937, allocations: 8.406 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-06/0.5937, allocations: 5.25 kB / 1.464 GB, free: 280.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.5937, allocations: 109.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-06/0.5938, allocations: 4.953 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.5939, allocations: 41.55 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-06/0.5939, allocations: 6.594 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-06/0.5939, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5939, allocations: 1.172 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.753e-05/0.594, allocations: 151.7 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.594, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.594, allocations: 7.953 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.127e-06/0.594, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-06/0.594, allocations: 5.141 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.931e-06/0.594, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-06/0.5941, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/0.5941, allocations: 61.3 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.5942, allocations: 77.11 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5942, allocations: 3.953 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.5942, allocations: 7.984 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.5942, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-06/0.5942, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.391e-05/0.5943, allocations: 77.05 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.41e-07/0.5943, allocations: 4.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002607/0.5945, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 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 (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.0001371/0.5947, allocations: 104.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.5948, allocations: 4.875 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.5948, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.5948, allocations: 10.89 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.595, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.5951, allocations: 82.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5952, allocations: 0.6731 MB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.5953, allocations: 5.062 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.5953, allocations: 7.438 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.375e-06/0.5953, allocations: 0.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.002285/0.5976, allocations: 281.3 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB