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.001322/0.001322, allocations: 103.1 kB / 16.4 MB, free: 6.438 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.001325/0.001325, allocations: 192 kB / 17.34 MB, free: 5.711 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 280.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4273, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002661/0.4299, allocations: 1.496 MB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.431, allocations: 0.6492 MB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.4311, allocations: 0 / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.4311, allocations: 7.922 kB / 0.7692 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.4312, allocations: 7.938 kB / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.4315, allocations: 83.67 kB / 0.7693 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.4316, allocations: 35.86 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.4317, allocations: 19.77 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.4317, allocations: 15.94 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.4318, allocations: 15.92 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4318, allocations: 0 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.432, allocations: 107.9 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.432, allocations: 15.86 kB / 0.7695 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.4321, allocations: 11.94 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.4322, allocations: 93.53 kB / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4322, allocations: 0 / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4322, allocations: 0 / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4323, allocations: 0 / 0.7696 GB, free: 1.363 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.000482/0.4327, allocations: 363.2 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4328, allocations: 8.031 kB / 0.7699 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.4328, allocations: 4.938 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4329, allocations: 180.3 kB / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.433, allocations: 384 / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.433, allocations: 384 / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4331, allocations: 65.98 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4331, allocations: 0 / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.4331, allocations: 0 / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4332, allocations: 0 / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.4332, allocations: 23.98 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.4336, allocations: 280.7 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.4337, allocations: 38.56 kB / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.4338, allocations: 16.91 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.4344, allocations: 0.5544 MB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4344, allocations: 30.56 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.4344, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.4347, allocations: 77.56 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4347, allocations: 55.34 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4348, allocations: 117.8 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4348, allocations: 25.7 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.4349, allocations: 96.12 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.4349, allocations: 3.953 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.4349, allocations: 13.72 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4351, allocations: 326.9 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.4351, allocations: 4 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.4352, allocations: 15.98 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.049e-05/0.4352, allocations: 24.84 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4352, allocations: 3.938 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/0.4354, allocations: 57.73 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4354, allocations: 8 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4354, allocations: 0 / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4354, allocations: 0 / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.4355, allocations: 7.984 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.4355, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.4355, allocations: 4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4355, allocations: 3.938 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 8.831e-05/0.4356, allocations: 117.8 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.4356, allocations: 4 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.4358, allocations: 65.14 kB / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4358, allocations: 4 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4358, allocations: 4 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4358, allocations: 0 / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.436, allocations: 173.6 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.436, allocations: 0 / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.436, allocations: 7.984 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.436, allocations: 0 / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.436, allocations: 4.031 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.436, allocations: 0 / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.436, allocations: 0 / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4362, allocations: 159.4 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.4363, allocations: 88.94 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.4363, allocations: 4 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.4363, allocations: 0 / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.4364, allocations: 8.016 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4364, allocations: 7.984 kB / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.4364, allocations: 91.28 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4364, allocations: 0 / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002327/0.4367, allocations: 19.92 kB / 0.7726 GB, free: 13.79 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 (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 Backend phase and start with SimCode phase: time 0.0001504/0.4368, allocations: 99.25 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.4369, allocations: 19.98 kB / 0.7727 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4369, allocations: 4.062 kB / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.437, allocations: 15.98 kB / 0.7727 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4372, allocations: 7.938 kB / 0.7727 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.4375, allocations: 134.6 kB / 0.7729 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4378, allocations: 0.6807 MB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.4378, allocations: 7.984 kB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4378, allocations: 15.5 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4378, allocations: 0 / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Templates: time 0.003041/0.4409, allocations: 499 kB / 0.774 GB, free: 12.27 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)