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 4.868/4.868, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002601/0.0026, allocations: 358.8 kB / 0.6447 GB, free: 185.7 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.292/4.292, allocations: 410.7 MB / 1.113 GB, free: 5.902 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.001811/0.001811, allocations: 177.9 kB / 1.226 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 12 kB / 1.349 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7951, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007726/0.7959, allocations: 322.6 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.7972, allocations: 0.9446 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.408e-05/0.7973, allocations: 0.7188 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.7973, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.7973, allocations: 1.812 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.7976, allocations: 43.83 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.477e-05/0.7977, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.7978, allocations: 3.984 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.7978, allocations: 4.891 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.7978, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.7979, allocations: 0.9375 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.7981, allocations: 87.84 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-06/0.7981, allocations: 2.5 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.7982, allocations: 25.7 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.538e-05/0.7983, allocations: 27.97 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7983, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7983, allocations: 4 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.7983, allocations: 0 / 1.463 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.00024/0.7986, allocations: 324.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7986, allocations: 11.62 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.7986, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.407e-05/0.7987, allocations: 168.6 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.7987, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.7988, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.7989, allocations: 34.25 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.7989, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.7989, allocations: 0.9375 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7989, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.7989, allocations: 12 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.7991, allocations: 153.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.7991, allocations: 14.58 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.7991, allocations: 8.953 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.7997, allocations: 0.5647 MB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.7997, allocations: 30.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.7997, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.7999, allocations: 34.23 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.7999, allocations: 51.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.548e-05/0.7999, allocations: 95.31 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.8, allocations: 29.7 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.8, allocations: 84.14 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.8, allocations: 0.75 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.8, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.8001, allocations: 311.6 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.8001, allocations: 0.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.8001, allocations: 4.625 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.8002, allocations: 1.719 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8002, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.84e-05/0.8002, allocations: 37.59 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8003, allocations: 8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8003, allocations: 5.562 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8003, allocations: 3.984 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.8004, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8004, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.8004, allocations: 12.59 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8004, allocations: 0 / 1.465 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 5.367e-05/0.8005, allocations: 110.8 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.8005, allocations: 4.922 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.8006, allocations: 42.12 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8006, allocations: 1.641 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8006, allocations: 0.6562 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.8007, allocations: 79.22 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.8007, allocations: 6.719 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.8007, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.8007, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.437e-05/0.8008, allocations: 120.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.503e-05/0.8009, allocations: 204.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.859e-05/0.8009, allocations: 3.938 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.657e-05/0.801, allocations: 81.92 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of Backend: time 5.31e-07/0.801, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.8014, allocations: 96.55 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0002473/0.8017, allocations: 0.5234 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002942/0.8047, allocations: 0.5102 MB / 1.466 GB, free: 278.7 MB / 0.8542 GB