Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5424/0.5424, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00104/0.00104, allocations: 173.2 kB / 130.7 MB, free: 7.531 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.594/1.594, allocations: 170.5 MB / 324.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 107.5 kB / 386.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.99e-05/4.994e-05, allocations: 11.92 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.484, allocations: 61.5 MB / 0.5054 GB, free: 49.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.6178, allocations: 94.94 MB / 0.5981 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6182, allocations: 72.64 kB / 0.5982 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005586/0.6238, allocations: 1.767 MB / 0.5999 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6238, allocations: 0 / 0.5999 GB, free: 14.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.6238, allocations: 0.8438 kB / 0.5999 GB, free: 14.82 MB / 426.7 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.000373/0.6242, allocations: 361.6 kB / 0.6002 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6243, allocations: 8.031 kB / 0.6002 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.6243, allocations: 8.625 kB / 0.6002 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6245, allocations: 167 kB / 0.6004 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6245, allocations: 7.906 kB / 0.6004 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.6245, allocations: 8.453 kB / 0.6004 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.6247, allocations: 53 kB / 0.6005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6247, allocations: 0 / 0.6005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6247, allocations: 0 / 0.6005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6247, allocations: 6.844 kB / 0.6005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.6248, allocations: 16.8 kB / 0.6005 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6252, allocations: 285.7 kB / 0.6008 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.6253, allocations: 27.09 kB / 0.6008 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.6253, allocations: 17.67 kB / 0.6008 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.6259, allocations: 0.5584 MB / 0.6014 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.6259, allocations: 30.56 kB / 0.6014 GB, free: 13.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.6259, allocations: 0 / 0.6014 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.6261, allocations: 60.16 kB / 0.6014 GB, free: 12.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6262, allocations: 53.47 kB / 0.6015 GB, free: 12.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.6263, allocations: 109.2 kB / 0.6016 GB, free: 12.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.6263, allocations: 29.7 kB / 0.6016 GB, free: 12.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.6264, allocations: 92.08 kB / 0.6017 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.6264, allocations: 3.906 kB / 0.6017 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.6264, allocations: 1.188 kB / 0.6017 GB, free: 12.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6266, allocations: 318.8 kB / 0.602 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.6266, allocations: 8.781 kB / 0.602 GB, free: 12.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.6267, allocations: 8 kB / 0.602 GB, free: 12.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.574e-05/0.6267, allocations: 7.953 kB / 0.602 GB, free: 12.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6267, allocations: 0 / 0.602 GB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.276e-05/0.6268, allocations: 49.59 kB / 0.6021 GB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6268, allocations: 4 kB / 0.6021 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6268, allocations: 7.938 kB / 0.6021 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6269, allocations: 0 / 0.6021 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.6269, allocations: 6.594 kB / 0.6021 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.627, allocations: 0 / 0.6021 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.627, allocations: 8.609 kB / 0.6021 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.627, allocations: 3.984 kB / 0.6021 GB, free: 12.23 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.6271, allocations: 113.8 kB / 0.6022 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.6271, allocations: 4.875 kB / 0.6022 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.6273, allocations: 59.02 kB / 0.6023 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6273, allocations: 0 / 0.6023 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6273, allocations: 0 / 0.6023 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6273, allocations: 0 / 0.6023 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.6275, allocations: 165.7 kB / 0.6024 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6276, allocations: 7.516 kB / 0.6025 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.6276, allocations: 16.55 kB / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6276, allocations: 0 / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.6276, allocations: 0 / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6276, allocations: 0 / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6276, allocations: 0 / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.6278, allocations: 145.9 kB / 0.6026 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.6279, allocations: 84.97 kB / 0.6027 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.6279, allocations: 4.188 kB / 0.6027 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.628, allocations: 7.984 kB / 0.6027 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.628, allocations: 0 / 0.6027 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.6281, allocations: 5.969 kB / 0.6027 GB, free: 11.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.6281, allocations: 96.78 kB / 0.6028 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6281, allocations: 0 / 0.6028 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.6284, allocations: 19.92 kB / 0.6028 GB, free: 11.43 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.6286, allocations: 99.25 kB / 0.6029 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.6287, allocations: 23.88 kB / 0.6029 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6287, allocations: 0 / 0.6029 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.6287, allocations: 12 kB / 0.6029 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.6288, allocations: 0 / 0.6029 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.6291, allocations: 77.5 kB / 0.603 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6294, allocations: 0.6809 MB / 0.6037 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.6295, allocations: 12.11 kB / 0.6037 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.6295, allocations: 7.438 kB / 0.6037 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6295, allocations: 0 / 0.6037 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.002468/0.632, allocations: 437.1 kB / 0.6041 GB, free: 10.08 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)