Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_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.005138/0.005138, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001324/0.001324, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002737/0.002737, allocations: 274.6 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003538/0.003538, allocations: 100.1 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1921, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003036/0.1952, allocations: 1.498 MB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1966, allocations: 0.6441 MB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1967, allocations: 4 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.1967, allocations: 3.938 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.1968, allocations: 7.875 kB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1973, allocations: 83.72 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.1974, allocations: 35.91 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1975, allocations: 16.22 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.1976, allocations: 15.92 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.1976, allocations: 15.92 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1977, allocations: 7.938 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1979, allocations: 107.8 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1979, allocations: 4 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.198, allocations: 23.86 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1982, allocations: 83.77 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1982, allocations: 3.938 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1982, allocations: 0 / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.1982, allocations: 0 / 0.7684 GB, free: 6.34 MB / 0.5606 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.0005131/0.1987, allocations: 363.2 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1988, allocations: 8.031 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1988, allocations: 38.73 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1989, allocations: 4.938 kB / 0.7688 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.199, allocations: 176.3 kB / 0.769 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1991, allocations: 8.312 kB / 0.769 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1991, allocations: 4.375 kB / 0.769 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1993, allocations: 61.73 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1993, allocations: 0 / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1993, allocations: 0 / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1993, allocations: 0 / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1994, allocations: 27.98 kB / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1998, allocations: 280.8 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.1999, allocations: 34.5 kB / 0.7694 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.2, allocations: 12.92 kB / 0.7694 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.2006, allocations: 0.5623 MB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2006, allocations: 38.56 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2006, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002571/0.2009, allocations: 61.62 kB / 0.77 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2009, allocations: 55.34 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2011, allocations: 121.8 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2011, allocations: 29.7 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.2011, allocations: 88.12 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2012, allocations: 12.02 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.2012, allocations: 17.72 kB / 0.7703 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2013, allocations: 318.8 kB / 0.7706 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.2014, allocations: 12 kB / 0.7706 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.2014, allocations: 7.984 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.2015, allocations: 20.86 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2015, allocations: 64 / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001366/0.2017, allocations: 69.56 kB / 0.7707 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2017, allocations: 4 kB / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2017, allocations: 0 / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2017, allocations: 0 / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.2018, allocations: 7.984 kB / 0.7708 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2018, allocations: 4 kB / 0.7708 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.2019, allocations: 7.984 kB / 0.7708 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2019, allocations: 3.938 kB / 0.7708 GB, free: 3.555 MB / 0.5606 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 8.495e-05/0.202, allocations: 118.5 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.202, allocations: 7.938 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2022, allocations: 61.2 kB / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2022, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2022, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2022, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2024, allocations: 173.5 kB / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.2024, allocations: 4 kB / 0.7711 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.2025, allocations: 15.95 kB / 0.7711 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2025, allocations: 0 / 0.7711 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2025, allocations: 0 / 0.7711 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2025, allocations: 4 kB / 0.7711 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2025, allocations: 0 / 0.7711 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.2027, allocations: 143.5 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.2028, allocations: 89.05 kB / 0.7714 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2028, allocations: 8.031 kB / 0.7714 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.2029, allocations: 0 / 0.7714 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.203, allocations: 4 kB / 0.7714 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.203, allocations: 0 / 0.7714 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.203, allocations: 99.64 kB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 0 / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003256/0.2034, allocations: 8 kB / 0.7715 GB, free: 2.734 MB / 0.5606 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.0005685/0.2039, allocations: 0.7007 MB / 0.7722 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2041, allocations: 19.98 kB / 0.7722 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2041, allocations: 4 kB / 0.7722 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.2042, allocations: 15.94 kB / 0.7722 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.2045, allocations: 2.719 kB / 0.7722 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2059, allocations: 1.316 MB / 0.7735 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3269/0.5328, allocations: 0.6772 MB / 0.7741 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.5329, allocations: 4.203 kB / 0.7741 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.5329, allocations: 16.75 kB / 0.7742 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5329, allocations: 0 / 0.7742 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.5728, allocations: 1.51 MB / 0.7756 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.641, allocations: 6.344 kB / 0.7756 GB, free: 14.08 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)