Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.575/1.575, allocations: 288.4 MB / 303.7 MB, free: 8.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 173.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008459/0.000846, allocations: 98.28 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 12.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.0016/0.2208, allocations: 1.199 MB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.2217, allocations: 0.6339 MB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.2218, allocations: 4 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.2218, allocations: 3.984 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.2219, allocations: 7.938 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.2223, allocations: 51.89 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.2223, allocations: 31.86 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2225, allocations: 19.98 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.2225, allocations: 15.92 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.2226, allocations: 15.92 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2226, allocations: 0 / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2228, allocations: 91.84 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.2228, allocations: 11.92 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.2229, allocations: 37.62 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.223, allocations: 60.14 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.223, allocations: 0 / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.223, allocations: 0 / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.223, allocations: 0 / 0.9823 GB, free: 25.13 MB / 0.6198 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.0003528/0.2234, allocations: 359.4 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2234, allocations: 8.031 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.2235, allocations: 8.844 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.2236, allocations: 172.3 kB / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2236, allocations: 384 / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2236, allocations: 384 / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2238, allocations: 61.98 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2238, allocations: 4 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2238, allocations: 0 / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2238, allocations: 4 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.2239, allocations: 27.98 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2242, allocations: 280.7 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/0.2243, allocations: 38.56 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.2244, allocations: 16.91 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.2247, allocations: 0.5584 MB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.2247, allocations: 34.56 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2248, allocations: 4 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.225, allocations: 77.52 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.225, allocations: 51.41 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.2251, allocations: 117.8 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.2251, allocations: 25.7 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.2252, allocations: 92.19 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.2252, allocations: 15.84 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.2252, allocations: 0 / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2252, allocations: 318.8 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.2253, allocations: 15.92 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.2253, allocations: 12 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.329e-05/0.2254, allocations: 36.84 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2254, allocations: 0 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.2255, allocations: 61.58 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2256, allocations: 5.562 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2256, allocations: 4 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2256, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.2257, allocations: 8.031 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2257, allocations: 0 / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.587e-05/0.2257, allocations: 7.984 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.2257, allocations: 0 / 0.9846 GB, free: 22.39 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.2258, allocations: 121.8 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.2258, allocations: 0 / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.226, allocations: 73.14 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.226, allocations: 4 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.226, allocations: 0 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.226, allocations: 0 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2261, allocations: 169.5 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2261, allocations: 0 / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.2262, allocations: 8 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2262, allocations: 3.984 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2262, allocations: 0 / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2262, allocations: 8 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2262, allocations: 32 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2263, allocations: 155.4 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.2264, allocations: 89 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2264, allocations: 0 / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.2265, allocations: 4 kB / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.2265, allocations: 8.031 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2265, allocations: 3.984 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.2266, allocations: 99.2 kB / 0.9853 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2266, allocations: 0 / 0.9853 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002165/0.2268, allocations: 11.94 kB / 0.9853 GB, free: 21.55 MB / 0.6198 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 (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.0001242/0.2269, allocations: 103.2 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.227, allocations: 27.98 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.227, allocations: 0 / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.2271, allocations: 16 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.2273, allocations: 3.938 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.2276, allocations: 148.7 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.2277, allocations: 0.6887 MB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.2277, allocations: 4 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.2278, allocations: 7.438 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2278, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002219/0.23, allocations: 438.2 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)