Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001165/0.001165, allocations: 107.6 kB / 16.52 MB, free: 6.703 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: 199.1 kB / 17.44 MB, free: 6.066 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7065/0.7065, allocations: 115.3 MB / 406.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.84 kB / 493.6 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3155, allocations: 76.16 MB / 0.5564 GB, free: 36.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002388/0.318, allocations: 1.552 MB / 0.5579 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.3188, allocations: 0.6613 MB / 0.5585 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.3189, allocations: 1.656 kB / 0.5585 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3189, allocations: 0 / 0.5585 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.319, allocations: 4.875 kB / 0.5585 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3192, allocations: 56.59 kB / 0.5586 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.3193, allocations: 41.94 kB / 0.5586 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.3194, allocations: 14.59 kB / 0.5586 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.3195, allocations: 16.44 kB / 0.5587 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.3195, allocations: 17.58 kB / 0.5587 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3195, allocations: 2.281 kB / 0.5587 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3197, allocations: 96.86 kB / 0.5588 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.3197, allocations: 10.8 kB / 0.5588 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.3198, allocations: 16.31 kB / 0.5588 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3199, allocations: 58 kB / 0.5588 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3199, allocations: 1.406 kB / 0.5589 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3199, allocations: 0 / 0.5589 GB, free: 34.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3199, allocations: 0 / 0.5589 GB, free: 34.84 MB / 446.1 MB 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.0003502/0.3203, allocations: 370 kB / 0.5592 GB, free: 34.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3203, allocations: 13.5 kB / 0.5592 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.3203, allocations: 7.438 kB / 0.5592 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.3204, allocations: 173.7 kB / 0.5594 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3204, allocations: 5.625 kB / 0.5594 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3205, allocations: 2.391 kB / 0.5594 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3206, allocations: 61.23 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3206, allocations: 0 / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3206, allocations: 0.9375 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3206, allocations: 3.062 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.3207, allocations: 26.73 kB / 0.5595 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.321, allocations: 282.4 kB / 0.5598 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.3211, allocations: 31.62 kB / 0.5598 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.3212, allocations: 14.5 kB / 0.5598 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.3215, allocations: 0.5609 MB / 0.5603 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3216, allocations: 32.22 kB / 0.5604 GB, free: 33.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3216, allocations: 0 / 0.5604 GB, free: 33.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002284/0.3218, allocations: 65.23 kB / 0.5604 GB, free: 33.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.3218, allocations: 53.2 kB / 0.5605 GB, free: 33.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.3219, allocations: 126.7 kB / 0.5606 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-06/0.3219, allocations: 25.7 kB / 0.5606 GB, free: 32.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.322, allocations: 92.36 kB / 0.5607 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.322, allocations: 6.734 kB / 0.5607 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.322, allocations: 12.39 kB / 0.5607 GB, free: 32.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.3221, allocations: 323.9 kB / 0.561 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.3221, allocations: 13.2 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.3222, allocations: 7.297 kB / 0.5611 GB, free: 32.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/0.3222, allocations: 27.16 kB / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3222, allocations: 0 / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.3224, allocations: 60.8 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3224, allocations: 5.594 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3224, allocations: 1.109 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3224, allocations: 2.312 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.3225, allocations: 9.266 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3225, allocations: 3.906 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.3225, allocations: 5.875 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3225, allocations: 2.25 kB / 0.5612 GB, free: 32.43 MB / 446.1 MB 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 4.479e-05/0.3226, allocations: 116.7 kB / 0.5613 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3226, allocations: 8.812 kB / 0.5613 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.3228, allocations: 70.19 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3228, allocations: 1 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3228, allocations: 2.109 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3228, allocations: 1.156 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3229, allocations: 169.9 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3229, allocations: 0 / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.323, allocations: 7.828 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.323, allocations: 0 / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.323, allocations: 1.844 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.323, allocations: 0.5312 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.323, allocations: 2.766 kB / 0.5615 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3231, allocations: 148.4 kB / 0.5617 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.3232, allocations: 83.22 kB / 0.5618 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3232, allocations: 3.094 kB / 0.5618 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.3232, allocations: 6.984 kB / 0.5618 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3233, allocations: 6.75 kB / 0.5618 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3233, allocations: 1.797 kB / 0.5618 GB, free: 31.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.3233, allocations: 94.11 kB / 0.5619 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3233, allocations: 0 / 0.5619 GB, free: 31.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3236, allocations: 15.44 kB / 0.5619 GB, free: 31.73 MB / 446.1 MB 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.0001182/0.3237, allocations: 109.3 kB / 0.562 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.3238, allocations: 23.08 kB / 0.562 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3238, allocations: 0.5625 kB / 0.562 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.3239, allocations: 16.44 kB / 0.562 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3241, allocations: 6.781 kB / 0.562 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.3244, allocations: 171.2 kB / 0.5622 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3245, allocations: 0.6834 MB / 0.5629 GB, free: 30.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.3245, allocations: 10.48 kB / 0.5629 GB, free: 30.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3245, allocations: 0 / 0.5629 GB, free: 30.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002166/0.3267, allocations: 0.7159 MB / 0.5636 GB, free: 30.74 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)