Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 181.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009077, allocations: 94.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001865/0.2582, allocations: 1.207 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2593, allocations: 0.63 MB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.2594, allocations: 0 / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.2595, allocations: 15.8 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.2595, allocations: 4 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.2599, allocations: 51.88 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.26, allocations: 23.97 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2601, allocations: 15.86 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.2602, allocations: 8 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.2603, allocations: 19.91 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2603, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2605, allocations: 87.84 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2605, allocations: 8 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.2605, allocations: 29.7 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2607, allocations: 55.91 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2607, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2607, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2607, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 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.0004771/0.2612, allocations: 347.5 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.2612, allocations: 8.031 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2613, allocations: 46.48 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2613, allocations: 7.953 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2614, allocations: 178.9 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2615, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2615, allocations: 4 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.2616, allocations: 57.67 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2617, allocations: 0 / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2617, allocations: 0 / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2617, allocations: 0 / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.2618, allocations: 39.92 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.2622, allocations: 272.8 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.2622, allocations: 30.56 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.2626, allocations: 0.5661 MB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2626, allocations: 30.56 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.2627, allocations: 7.922 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002337/0.2629, allocations: 73.62 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2629, allocations: 55.53 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.263, allocations: 125.8 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.263, allocations: 25.7 kB / 0.904 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.2631, allocations: 88.14 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.2631, allocations: 3.906 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.2631, allocations: 0 / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2631, allocations: 318.8 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.2632, allocations: 8 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.2632, allocations: 19.98 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.2633, allocations: 15.94 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2633, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.2634, allocations: 65.53 kB / 0.9045 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2634, allocations: 4 kB / 0.9045 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2634, allocations: 4.094 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2634, allocations: 3.953 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.2635, allocations: 7.984 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2635, allocations: 4 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.2636, allocations: 3.938 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2636, allocations: 4 kB / 0.9046 GB, free: 58.93 MB / 0.6042 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.681e-05/0.2636, allocations: 106.4 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.2637, allocations: 11.89 kB / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.2638, allocations: 73.14 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2638, allocations: 0 / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2639, allocations: 3.953 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2639, allocations: 0 / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.264, allocations: 169.7 kB / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.264, allocations: 0 / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.264, allocations: 8 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.264, allocations: 4.031 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.2641, allocations: 3.938 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2641, allocations: 0 / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2641, allocations: 0 / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.2642, allocations: 159.5 kB / 0.9051 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2643, allocations: 84.95 kB / 0.9052 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2643, allocations: 4.031 kB / 0.9052 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.2643, allocations: 11.98 kB / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.2644, allocations: 0 / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2644, allocations: 0 / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.2644, allocations: 99.22 kB / 0.9053 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2644, allocations: 0 / 0.9053 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000222/0.2647, allocations: 16 kB / 0.9053 GB, free: 58.09 MB / 0.6042 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.0003487/0.265, allocations: 0.6891 MB / 0.906 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2652, allocations: 27.92 kB / 0.906 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2652, allocations: 4.094 kB / 0.906 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.2652, allocations: 15.98 kB / 0.906 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.2654, allocations: 5.406 kB / 0.906 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.2661, allocations: 469.1 kB / 0.9065 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2662, allocations: 0.6887 MB / 0.9071 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2663, allocations: 8.141 kB / 0.9071 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2663, allocations: 19.42 kB / 0.9072 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2663, allocations: 0 / 0.9072 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.279, allocations: 1.242 MB / 0.9084 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.2792, allocations: 179.9 kB / 0.9086 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.83, allocations: 0 / 0.9086 GB, free: 54.72 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)