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.001176/0.001177, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.709/1.709, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001409/0.001409, allocations: 69.22 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2105, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002661/0.2132, allocations: 1.496 MB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2143, allocations: 0.6766 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.2143, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.2143, allocations: 3.938 kB / 0.7858 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.2144, allocations: 7.938 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2148, allocations: 75.73 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.2149, allocations: 35.86 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.215, allocations: 19.98 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.215, allocations: 15.92 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.2151, allocations: 19.92 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2151, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2153, allocations: 91.89 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.2153, allocations: 11.94 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2153, allocations: 23.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2155, allocations: 84 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2155, allocations: 12 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2155, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2155, allocations: 0 / 0.7861 GB, free: 10.7 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.0004065/0.2159, allocations: 355.3 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.216, allocations: 8.031 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.216, allocations: 38.75 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.2161, allocations: 4.938 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2162, allocations: 172.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.2162, allocations: 384 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.2162, allocations: 8.375 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2164, allocations: 61.73 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2164, allocations: 0 / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2164, allocations: 0 / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2164, allocations: 4 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.2165, allocations: 27.97 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.2168, allocations: 280.7 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.2169, allocations: 34.52 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.217, allocations: 16.91 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.2174, allocations: 0.5583 MB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2175, allocations: 30.56 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2175, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.2177, allocations: 57.67 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2178, allocations: 59.34 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.2179, allocations: 129.8 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2179, allocations: 25.7 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.2179, allocations: 91.98 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2179, allocations: 4 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.218, allocations: 17.84 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2181, allocations: 326.8 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.2182, allocations: 8 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.2182, allocations: 7.984 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.2183, allocations: 28.84 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2183, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.2184, allocations: 57.66 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2184, allocations: 4 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2184, allocations: 3.938 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2184, allocations: 4 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.2185, allocations: 7.984 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2185, allocations: 0 / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.2186, allocations: 3.938 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2186, allocations: 11.94 kB / 0.7885 GB, free: 7.918 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.941e-05/0.2187, allocations: 106.5 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.2187, allocations: 11.94 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.2189, allocations: 61.2 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2189, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2189, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2189, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2191, allocations: 173.6 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2191, allocations: 0 / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.2191, allocations: 7.938 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2191, allocations: 4 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2192, allocations: 4.031 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2192, allocations: 0 / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2192, allocations: 4 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2193, allocations: 147.5 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2194, allocations: 85.02 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2194, allocations: 4 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.2195, allocations: 32 / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2195, allocations: 15.97 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2195, allocations: 0 / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.2196, allocations: 103.1 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2196, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002194/0.2198, allocations: 8 kB / 0.7892 GB, free: 7.094 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.0004755/0.2203, allocations: 0.6967 MB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.2204, allocations: 19.98 kB / 0.7899 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2204, allocations: 4 kB / 0.7899 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.2205, allocations: 15.92 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2207, allocations: 4 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2221, allocations: 1.311 MB / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2224, allocations: 0.6807 MB / 0.7919 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.2224, allocations: 7.984 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2225, allocations: 15.44 kB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2225, allocations: 0 / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.2388, allocations: 1.476 MB / 0.7933 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.191, allocations: 8.062 kB / 0.7933 GB, free: 2.785 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)