Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 114.7 kB / 16.42 MB, free: 6.473 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.001038/0.001038, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 285.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8997/0.8997, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3788, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002386/0.3813, allocations: 1.498 MB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.3822, allocations: 0.6493 MB / 0.7692 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.3823, allocations: 0 / 0.7692 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.3823, allocations: 7.875 kB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.3824, allocations: 11.92 kB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3827, allocations: 71.73 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.3828, allocations: 39.86 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.3829, allocations: 23.64 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.383, allocations: 15.92 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.383, allocations: 15.92 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.383, allocations: 4 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3832, allocations: 99.89 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3832, allocations: 15.92 kB / 0.7695 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.3833, allocations: 15.94 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3834, allocations: 83.77 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3834, allocations: 0 / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3834, allocations: 4 kB / 0.7696 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3834, allocations: 0 / 0.7696 GB, free: 1.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003982/0.3838, allocations: 361.9 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3839, allocations: 12.03 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3839, allocations: 0.9375 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.384, allocations: 176.2 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.3841, allocations: 384 / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3841, allocations: 8.375 kB / 0.7701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3842, allocations: 61.97 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3842, allocations: 0 / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3842, allocations: 4 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3842, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.3843, allocations: 23.98 kB / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.3847, allocations: 280.7 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.3848, allocations: 34.56 kB / 0.7705 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.3848, allocations: 20.91 kB / 0.7705 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/0.3853, allocations: 0.5544 MB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3853, allocations: 30.56 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3853, allocations: 3.938 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002285/0.3855, allocations: 73.55 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3856, allocations: 55.41 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.3857, allocations: 117.8 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3857, allocations: 25.7 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.3857, allocations: 92.03 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.3857, allocations: 8 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3858, allocations: 9.719 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.3859, allocations: 326.9 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.3859, allocations: 8 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.386, allocations: 11.98 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.386, allocations: 28.84 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3861, allocations: 3.938 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.3862, allocations: 53.59 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3862, allocations: 10.91 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3862, allocations: 0 / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3862, allocations: 4 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.3863, allocations: 7.984 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3863, allocations: 0 / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.3864, allocations: 3.938 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3864, allocations: 4 kB / 0.7719 GB, free: 14.64 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 (2): * Single equations (assignments): 2 * 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.015e-05/0.3864, allocations: 109.8 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3865, allocations: 11.91 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3866, allocations: 65.14 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3866, allocations: 0 / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3866, allocations: 0 / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.3867, allocations: 85.09 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3867, allocations: 3.938 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.3868, allocations: 8 kB / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3868, allocations: 4 kB / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001514/0.387, allocations: 133 kB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001707/0.3871, allocations: 226.7 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.671e-05/0.3872, allocations: 11.98 kB / 0.7725 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3872, allocations: 107.1 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/0.3873, allocations: 0 / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.3877, allocations: 118.5 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003651/0.388, allocations: 0.5661 MB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Templates: time 0.002641/0.3907, allocations: 0.755 MB / 0.774 GB, free: 12.34 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)