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.0009947/0.0009948, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001156/0.001156, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 286 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.8768/0.8768, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3618, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002525/0.3643, allocations: 1.477 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.3653, allocations: 0.6531 MB / 0.7691 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.3654, allocations: 0 / 0.7691 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.3654, allocations: 3.984 kB / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.3654, allocations: 7.875 kB / 0.7692 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.3658, allocations: 87.66 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.3658, allocations: 31.92 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.3659, allocations: 15.66 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.366, allocations: 19.92 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.3661, allocations: 19.91 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3661, allocations: 4 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3662, allocations: 103.8 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.3663, allocations: 15.86 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.3663, allocations: 19.92 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3665, allocations: 79.78 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3665, allocations: 3.984 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3665, allocations: 0 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3665, allocations: 0 / 0.7695 GB, free: 1.348 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.0003893/0.3669, allocations: 365.9 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3669, allocations: 8.031 kB / 0.7699 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.367, allocations: 4.938 kB / 0.7699 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3671, allocations: 172.2 kB / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3671, allocations: 4.375 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3671, allocations: 4.375 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3672, allocations: 61.92 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.3673, allocations: 0 / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3673, allocations: 4 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3673, allocations: 0 / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.3674, allocations: 23.98 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.3677, allocations: 284.7 kB / 0.7704 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.3678, allocations: 38.5 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.3678, allocations: 12.92 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/0.3683, allocations: 0.5583 MB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3683, allocations: 34.56 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3683, allocations: 4 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002184/0.3686, allocations: 61.67 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.3686, allocations: 55.34 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.3687, allocations: 121.8 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3687, allocations: 25.7 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.3687, allocations: 96.16 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.3688, allocations: 8 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.3688, allocations: 13.72 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3689, allocations: 322.8 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.3689, allocations: 8 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.453e-05/0.369, allocations: 7.984 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.3691, allocations: 24.86 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3691, allocations: 8.047 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.3692, allocations: 61.58 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3692, allocations: 7.281 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3692, allocations: 0 / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3692, allocations: 3.938 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3693, allocations: 4 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3693, allocations: 3.984 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.3694, allocations: 11.92 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3694, allocations: 3.938 kB / 0.7719 GB, free: 14.61 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.762e-05/0.3695, allocations: 117.8 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.3695, allocations: 7.906 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.3696, allocations: 61.2 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3696, allocations: 0 / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3697, allocations: 0 / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3697, allocations: 77.11 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3697, allocations: 3.938 kB / 0.7721 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.3698, allocations: 16.02 kB / 0.7721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.3698, allocations: 0 / 0.7721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001425/0.37, allocations: 132.9 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000166/0.3701, allocations: 226.7 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.54e-05/0.3702, allocations: 12.05 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.3703, allocations: 111.1 kB / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Backend: time 3e-07/0.3703, allocations: 0 / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.3707, allocations: 106.5 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003685/0.371, allocations: 0.5778 MB / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Templates: time 0.002592/0.3736, allocations: 0.7691 MB / 0.774 GB, free: 12.3 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)