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.001282/0.001282, allocations: 101.8 kB / 15.98 MB, free: 6.344 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.001421/0.001422, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7936/0.7936, allocations: 122.9 MB / 413.6 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 71.89 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3799, allocations: 77.92 MB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002596/0.3826, allocations: 1.541 MB / 0.5682 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.3835, allocations: 0.6428 MB / 0.5688 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.3836, allocations: 0 / 0.5688 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.3836, allocations: 5.016 kB / 0.5688 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.3837, allocations: 5.688 kB / 0.5688 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.384, allocations: 69 kB / 0.5689 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.3841, allocations: 43.61 kB / 0.5689 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.3842, allocations: 15.55 kB / 0.569 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.3842, allocations: 16.66 kB / 0.569 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.3843, allocations: 18.22 kB / 0.569 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3843, allocations: 2.375 kB / 0.569 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3845, allocations: 98.97 kB / 0.5691 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.3845, allocations: 11.98 kB / 0.5691 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.3846, allocations: 14.23 kB / 0.5691 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3848, allocations: 91 kB / 0.5692 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3848, allocations: 1.062 kB / 0.5692 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3848, allocations: 0 / 0.5692 GB, free: 30.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3848, allocations: 1.281 kB / 0.5692 GB, free: 30.32 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.0004134/0.3852, allocations: 366.6 kB / 0.5695 GB, free: 29.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3853, allocations: 9.719 kB / 0.5696 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3853, allocations: 4.781 kB / 0.5696 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3854, allocations: 176.8 kB / 0.5697 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3854, allocations: 2.719 kB / 0.5697 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3855, allocations: 2.875 kB / 0.5697 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3856, allocations: 62.05 kB / 0.5698 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3856, allocations: 0 / 0.5698 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3856, allocations: 0.6562 kB / 0.5698 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3856, allocations: 1.688 kB / 0.5698 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.3857, allocations: 28.95 kB / 0.5698 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.386, allocations: 287.1 kB / 0.5701 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.3861, allocations: 31.47 kB / 0.5701 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.3862, allocations: 14.25 kB / 0.5701 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.3865, allocations: 0.5585 MB / 0.5707 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.3866, allocations: 37.23 kB / 0.5707 GB, free: 28.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.3866, allocations: 0.6562 kB / 0.5707 GB, free: 28.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002286/0.3868, allocations: 63.62 kB / 0.5708 GB, free: 28.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.3868, allocations: 58 kB / 0.5708 GB, free: 28.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.3869, allocations: 123.4 kB / 0.571 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.3869, allocations: 27.23 kB / 0.571 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.387, allocations: 92.73 kB / 0.5711 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.387, allocations: 1.062 kB / 0.5711 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.387, allocations: 17.88 kB / 0.5711 GB, free: 28.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.3871, allocations: 320.8 kB / 0.5714 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.3871, allocations: 15.27 kB / 0.5714 GB, free: 27.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.3871, allocations: 9.016 kB / 0.5714 GB, free: 27.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.3872, allocations: 25.09 kB / 0.5714 GB, free: 27.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3872, allocations: 3.938 kB / 0.5714 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.3873, allocations: 57.41 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3874, allocations: 7.547 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3874, allocations: 3.938 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3874, allocations: 2.188 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3875, allocations: 8.438 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3875, allocations: 2.719 kB / 0.5715 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.3875, allocations: 7.578 kB / 0.5715 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3875, allocations: 1.094 kB / 0.5715 GB, free: 27.9 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.575e-05/0.3876, allocations: 112.8 kB / 0.5716 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3876, allocations: 7.688 kB / 0.5716 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3878, allocations: 66.16 kB / 0.5717 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3878, allocations: 4.516 kB / 0.5717 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3878, allocations: 4 kB / 0.5717 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3878, allocations: 0 / 0.5717 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3879, allocations: 170.4 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3879, allocations: 0 / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.388, allocations: 5.656 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.388, allocations: 2.156 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.388, allocations: 0.8438 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.388, allocations: 1.156 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.388, allocations: 0.625 kB / 0.5719 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.3881, allocations: 158.5 kB / 0.572 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.3882, allocations: 83.25 kB / 0.5721 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3882, allocations: 1.812 kB / 0.5721 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.3882, allocations: 4.656 kB / 0.5721 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3883, allocations: 2.359 kB / 0.5721 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3883, allocations: 0 / 0.5721 GB, free: 27.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.3883, allocations: 94.25 kB / 0.5722 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.3883, allocations: 0.5312 kB / 0.5722 GB, free: 27.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3886, allocations: 18.84 kB / 0.5722 GB, free: 27.2 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.0001213/0.3887, allocations: 109.5 kB / 0.5723 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3888, allocations: 24.19 kB / 0.5724 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3888, allocations: 0 / 0.5724 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.3889, allocations: 16.89 kB / 0.5724 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3891, allocations: 5.375 kB / 0.5724 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.3894, allocations: 137 kB / 0.5725 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3895, allocations: 0.6875 MB / 0.5732 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.368e-05/0.3895, allocations: 2.25 kB / 0.5732 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3895, allocations: 11.41 kB / 0.5732 GB, free: 26.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3895, allocations: 1.531 kB / 0.5732 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002461/0.392, allocations: 471.3 kB / 0.5737 GB, free: 26.23 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)