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.34/1.34, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009335/0.0009333, allocations: 179.6 kB / 325.9 MB, free: 2.707 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.76/1.76, allocations: 205 MB / 0.576 GB, free: 21.04 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.0007412/0.0007412, allocations: 92.25 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 15.19 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001762/0.2386, allocations: 1.238 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2396, allocations: 0.6926 MB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.2397, allocations: 4 kB / 0.8981 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2397, allocations: 3.938 kB / 0.8981 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.2398, allocations: 3.938 kB / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2401, allocations: 55.88 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.2401, allocations: 31.92 kB / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.2403, allocations: 19.97 kB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.2404, allocations: 15.94 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.2404, allocations: 11.92 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2404, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2406, allocations: 99.83 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2406, allocations: 7.938 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2407, allocations: 15.88 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2408, allocations: 71.83 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2408, allocations: 0 / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2408, allocations: 4 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2409, allocations: 4 kB / 0.8984 GB, free: 65.83 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.0003725/0.2412, allocations: 355.4 kB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2413, allocations: 8.031 kB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.2413, allocations: 34.75 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.2414, allocations: 8.938 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.325e-05/0.2414, allocations: 172.3 kB / 0.899 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2415, allocations: 4.359 kB / 0.899 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2415, allocations: 8.375 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2416, allocations: 57.75 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2417, allocations: 0 / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2417, allocations: 0 / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2417, allocations: 4 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.2418, allocations: 27.98 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.2421, allocations: 288.7 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.2422, allocations: 34.52 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.2422, allocations: 16.91 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.2426, allocations: 0.5583 MB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2426, allocations: 38.5 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2426, allocations: 0 / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002219/0.2428, allocations: 69.58 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.2429, allocations: 55.34 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.2429, allocations: 129.9 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.243, allocations: 25.7 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.243, allocations: 92.12 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.243, allocations: 3.906 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.243, allocations: 9.719 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.2431, allocations: 318.8 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.2431, allocations: 11.98 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.2432, allocations: 16 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.2433, allocations: 28.84 kB / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2433, allocations: 0 / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.656e-05/0.2434, allocations: 61.67 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2434, allocations: 6.5 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2434, allocations: 4.094 kB / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2434, allocations: 3.938 kB / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.2435, allocations: 8 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2435, allocations: 0 / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.2435, allocations: 3.984 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2435, allocations: 7.938 kB / 0.9008 GB, free: 63.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.2436, allocations: 109.8 kB / 0.9009 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2436, allocations: 7.906 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2438, allocations: 69.2 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2438, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2438, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2438, allocations: 0 / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2439, allocations: 165.6 kB / 0.9011 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2439, allocations: 0 / 0.9011 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.244, allocations: 15.92 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.244, allocations: 4.031 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.244, allocations: 0 / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.244, allocations: 3.938 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.244, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.2441, allocations: 159.4 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.2442, allocations: 89.02 kB / 0.9014 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2442, allocations: 4.031 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.2443, allocations: 4 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.2443, allocations: 4 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2443, allocations: 8 kB / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.2443, allocations: 95.2 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2444, allocations: 0 / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002191/0.2446, allocations: 8 kB / 0.9015 GB, free: 62.21 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 (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.0003178/0.2449, allocations: 0.7085 MB / 0.9022 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.245, allocations: 31.97 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.245, allocations: 4.094 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.2451, allocations: 12 kB / 0.9022 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.2453, allocations: 7.938 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.2462, allocations: 1.31 MB / 0.9035 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2463, allocations: 0.6887 MB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.2464, allocations: 8.141 kB / 0.9042 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.2464, allocations: 11.44 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2464, allocations: 0 / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.2564, allocations: 1.269 MB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.2566, allocations: 190.9 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.794, allocations: 3.938 kB / 0.9056 GB, free: 57.89 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)