Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008005/0.0008006, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005263/0.005263, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005538, allocations: 18.34 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2599, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001701/0.2617, allocations: 1.21 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2629, allocations: 0.6768 MB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.2629, allocations: 4 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.2629, allocations: 3.938 kB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.263, allocations: 7.922 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2633, allocations: 51.88 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.2634, allocations: 43.86 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2635, allocations: 12 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.2636, allocations: 15.92 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.2636, allocations: 15.92 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2637, allocations: 0 / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2638, allocations: 91.84 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.2639, allocations: 4 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.2639, allocations: 53.55 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2641, allocations: 80.05 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2641, allocations: 0 / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2641, allocations: 3.938 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2641, allocations: 0 / 0.7902 GB, free: 9.164 MB / 0.6075 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.0004185/0.2645, allocations: 351.5 kB / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2646, allocations: 12.03 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.2646, allocations: 34.73 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.2647, allocations: 12.84 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2648, allocations: 164.3 kB / 0.7908 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2648, allocations: 4.375 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2648, allocations: 4.375 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.265, allocations: 57.8 kB / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.265, allocations: 7.922 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.265, allocations: 4 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.265, allocations: 0 / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.652e-05/0.2651, allocations: 31.98 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.2655, allocations: 284.7 kB / 0.7911 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.2656, allocations: 38.5 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.2657, allocations: 16.92 kB / 0.7912 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004778/0.2662, allocations: 0.5622 MB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2662, allocations: 30.56 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2662, allocations: 4 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.2665, allocations: 65.78 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2665, allocations: 59.39 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.2666, allocations: 117.8 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2667, allocations: 29.64 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.2667, allocations: 84.14 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2667, allocations: 15.89 kB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.2668, allocations: 9.719 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2669, allocations: 314.8 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.2669, allocations: 20.02 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.267, allocations: 8 kB / 0.7925 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.2671, allocations: 32.84 kB / 0.7925 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2671, allocations: 3.938 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.2672, allocations: 61.66 kB / 0.7926 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2672, allocations: 8 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2672, allocations: 0 / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2673, allocations: 0 / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.2673, allocations: 11.92 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2673, allocations: 0 / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.2674, allocations: 4 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2674, allocations: 3.938 kB / 0.7926 GB, free: 6.371 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.2675, allocations: 114.5 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2675, allocations: 7.984 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.2677, allocations: 69.11 kB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2677, allocations: 0 / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2677, allocations: 0 / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2677, allocations: 0 / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2679, allocations: 169.6 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2679, allocations: 4 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.268, allocations: 8 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.268, allocations: 4 kB / 0.7929 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.268, allocations: 3.938 kB / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.268, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.268, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.2682, allocations: 159.5 kB / 0.7931 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2683, allocations: 85.02 kB / 0.7932 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2683, allocations: 0 / 0.7932 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.2684, allocations: 7.984 kB / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.2684, allocations: 0 / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2684, allocations: 0 / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.2685, allocations: 107.5 kB / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2685, allocations: 0 / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002206/0.2687, allocations: 16.03 kB / 0.7933 GB, free: 5.527 MB / 0.6075 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 (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.0005411/0.2693, allocations: 0.689 MB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2694, allocations: 31.95 kB / 0.794 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2694, allocations: 4 kB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.2695, allocations: 11.98 kB / 0.794 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2697, allocations: 7.938 kB / 0.794 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.271, allocations: 1.332 MB / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.2714, allocations: 0.6809 MB / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.2714, allocations: 7.984 kB / 0.796 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.2715, allocations: 11.44 kB / 0.796 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2715, allocations: 4 kB / 0.796 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.2827, allocations: 1.278 MB / 0.7973 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.2829, allocations: 181.6 kB / 0.7974 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.914, allocations: 0 / 0.7974 GB, free: 1.191 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)