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.001093/0.001093, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001439/0.00144, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.905/1.905, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006486/0.0006486, allocations: 19 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.246, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00181/0.2479, allocations: 1.195 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2491, allocations: 0.6266 MB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.2492, allocations: 8 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2492, allocations: 11.86 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.2493, allocations: 3.938 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2496, allocations: 51.88 kB / 0.7893 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.983e-05/0.2497, allocations: 31.92 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2499, allocations: 15.98 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.25, allocations: 11.92 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.25, allocations: 15.94 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2501, allocations: 4 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2503, allocations: 95.83 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.2503, allocations: 0 / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.2503, allocations: 33.7 kB / 0.7895 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2505, allocations: 60.12 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2505, allocations: 4 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2505, allocations: 0 / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2505, allocations: 3.938 kB / 0.7895 GB, free: 9.66 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.0004835/0.251, allocations: 351.2 kB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2511, allocations: 8.031 kB / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.2511, allocations: 38.56 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.2511, allocations: 3.906 kB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2513, allocations: 175 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2513, allocations: 0 / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2513, allocations: 4 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2515, allocations: 53.67 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2515, allocations: 8 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.2515, allocations: 0 / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2515, allocations: 3.938 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.2516, allocations: 35.92 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.252, allocations: 280.7 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.2521, allocations: 34.58 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.2522, allocations: 16.91 kB / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/0.2526, allocations: 0.5622 MB / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2526, allocations: 30.56 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2526, allocations: 7.938 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.2529, allocations: 77.53 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2529, allocations: 51.41 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.253, allocations: 121.8 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.253, allocations: 25.7 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.2531, allocations: 96.25 kB / 0.7914 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2531, allocations: 3.906 kB / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2531, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2532, allocations: 314.8 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.2533, allocations: 15.98 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.2533, allocations: 11.94 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.2534, allocations: 20.05 kB / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2534, allocations: 0 / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.2535, allocations: 57.69 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2535, allocations: 4 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2535, allocations: 0 / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2535, allocations: 0 / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.2536, allocations: 11.94 kB / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2536, allocations: 0 / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.2537, allocations: 11.94 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2537, allocations: 4 kB / 0.7919 GB, free: 6.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/0.2538, allocations: 105.8 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.2538, allocations: 7.984 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.254, allocations: 65.16 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.254, allocations: 8 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.254, allocations: 7.953 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.254, allocations: 0 / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2542, allocations: 165.7 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2542, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.2542, allocations: 4 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2542, allocations: 4 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2543, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2543, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2543, allocations: 3.938 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.2544, allocations: 167.3 kB / 0.7924 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.2545, allocations: 85.05 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2545, allocations: 0 / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.2546, allocations: 7.984 kB / 0.7925 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.2546, allocations: 0 / 0.7925 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2547, allocations: 4 kB / 0.7925 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.2547, allocations: 99.3 kB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002405/0.255, allocations: 19.95 kB / 0.7926 GB, free: 6.059 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 (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.0004785/0.2555, allocations: 0.6929 MB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2556, allocations: 27.92 kB / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2556, allocations: 0 / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.2557, allocations: 15.98 kB / 0.7933 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2559, allocations: 4 kB / 0.7933 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/0.2566, allocations: 470.6 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2568, allocations: 0.6887 MB / 0.7944 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2569, allocations: 7.938 kB / 0.7944 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.2569, allocations: 11.44 kB / 0.7944 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2569, allocations: 0 / 0.7944 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.2674, allocations: 1.268 MB / 0.7957 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.2675, allocations: 172.1 kB / 0.7958 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.989, allocations: 0 / 0.7958 GB, free: 2.66 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/linux/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) Environment - environmentSimulation: