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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.001424/0.001424, allocations: 179.2 kB / 372 MB, free: 10.28 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.704/1.704, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008903/0.0008904, allocations: 98.23 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 12.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2957, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001645/0.2974, allocations: 1.199 MB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.2983, allocations: 0.6379 MB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.2984, allocations: 3.938 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.2984, allocations: 4 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.2985, allocations: 3.938 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2988, allocations: 51.88 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.2988, allocations: 35.86 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.2989, allocations: 15.98 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.299, allocations: 15.92 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.2991, allocations: 11.92 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.2991, allocations: 7.938 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2993, allocations: 87.91 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.2993, allocations: 3.984 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.2993, allocations: 33.64 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2994, allocations: 64.14 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2994, allocations: 3.984 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2994, allocations: 4 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2994, allocations: 0 / 0.9818 GB, free: 25.39 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.0003881/0.2998, allocations: 347.3 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2999, allocations: 12.02 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.2999, allocations: 34.55 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.3, allocations: 7.906 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/0.3001, allocations: 171 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3001, allocations: 8 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.3001, allocations: 4 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3003, allocations: 57.61 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3003, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3003, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3003, allocations: 4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.3004, allocations: 23.98 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.3008, allocations: 284.8 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.3009, allocations: 38.5 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.301, allocations: 16.92 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/0.3014, allocations: 0.5583 MB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3014, allocations: 34.56 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3014, allocations: 0 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002567/0.3017, allocations: 73.55 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3017, allocations: 63.45 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.3018, allocations: 121.8 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3018, allocations: 33.58 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.3019, allocations: 88.22 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.3019, allocations: 11.89 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.3019, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.302, allocations: 318.8 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.302, allocations: 8 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.3021, allocations: 15.98 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.3021, allocations: 12 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3021, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.3022, allocations: 57.67 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3022, allocations: 8 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3023, allocations: 4.094 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3023, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.3024, allocations: 7.953 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3024, allocations: 3.938 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.3024, allocations: 11.89 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3024, allocations: 0 / 0.9841 GB, free: 22.63 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.901e-05/0.3025, allocations: 113.8 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.3025, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.3027, allocations: 73.2 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3027, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3027, allocations: 3.953 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3027, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3028, allocations: 161.7 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3028, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.3029, allocations: 7.984 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3029, allocations: 4.031 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3029, allocations: 4 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3029, allocations: 0 / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3029, allocations: 3.938 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3031, allocations: 155.4 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3032, allocations: 85.09 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3032, allocations: 4.031 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3033, allocations: 0 / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3033, allocations: 4 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3033, allocations: 4 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.3034, allocations: 99.2 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3034, allocations: 0 / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002049/0.3036, allocations: 11.95 kB / 0.9848 GB, free: 21.81 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.0004062/0.304, allocations: 0.7045 MB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3041, allocations: 27.92 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3041, allocations: 4.094 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.3042, allocations: 16 kB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3044, allocations: 0 / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.3052, allocations: 471.9 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3053, allocations: 0.6809 MB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.3053, allocations: 4 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3054, allocations: 15.42 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3054, allocations: 0 / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.3176, allocations: 1.277 MB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.3179, allocations: 190.5 kB / 0.9881 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.892, allocations: 0 / 0.9881 GB, free: 18.41 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)