Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.616/2.616, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 174.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 102.2 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 11.38 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2355, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002316/0.2379, allocations: 1.195 MB / 0.9794 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.2398, allocations: 0.6422 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.24, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.24, allocations: 7.938 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.2401, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2406, allocations: 55.8 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.2407, allocations: 19.98 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2408, allocations: 11.98 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.2409, allocations: 15.92 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.241, allocations: 19.92 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2411, allocations: 0 / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.2414, allocations: 87.89 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.2414, allocations: 3.938 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.2414, allocations: 33.7 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2417, allocations: 52.14 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2417, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2417, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2417, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 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.00058/0.2423, allocations: 363.2 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.2424, allocations: 12.02 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.2425, allocations: 42.55 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.2425, allocations: 7.859 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2427, allocations: 167 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2427, allocations: 0 / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.2428, allocations: 4 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.243, allocations: 53.67 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2431, allocations: 7.938 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2431, allocations: 4 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2431, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.2434, allocations: 35.97 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.2439, allocations: 276.7 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2441, allocations: 38.56 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.2447, allocations: 0.5545 MB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2448, allocations: 30.56 kB / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.2448, allocations: 0 / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005191/0.2453, allocations: 85.47 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2454, allocations: 51.41 kB / 0.982 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2456, allocations: 121.8 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2456, allocations: 25.7 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.2457, allocations: 92.12 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2457, allocations: 3.906 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.2457, allocations: 4 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.2458, allocations: 315 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.246, allocations: 15.98 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.2461, allocations: 8 kB / 0.9826 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2462, allocations: 15.98 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2462, allocations: 0 / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002924/0.2465, allocations: 69.69 kB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2466, allocations: 4 kB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2466, allocations: 3.984 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2466, allocations: 3.953 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2468, allocations: 11.92 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2468, allocations: 0 / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.247, allocations: 7.906 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.247, allocations: 4 kB / 0.9827 GB, free: 23.37 MB / 0.6198 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 0.0001007/0.2471, allocations: 109.9 kB / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.2472, allocations: 8 kB / 0.9828 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.2475, allocations: 65.14 kB / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2476, allocations: 0 / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2476, allocations: 3.953 kB / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2476, allocations: 3.984 kB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2479, allocations: 169.6 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2479, allocations: 4.031 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.248, allocations: 4 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2481, allocations: 4 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2481, allocations: 0 / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2481, allocations: 0 / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2481, allocations: 0 / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2484, allocations: 167.3 kB / 0.9832 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.2485, allocations: 81.11 kB / 0.9833 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2485, allocations: 0 / 0.9833 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2487, allocations: 4 kB / 0.9833 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2488, allocations: 3.984 kB / 0.9833 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2488, allocations: 0 / 0.9833 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.2489, allocations: 107.2 kB / 0.9834 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2489, allocations: 0 / 0.9834 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005362/0.2494, allocations: 8.031 kB / 0.9834 GB, free: 22.54 MB / 0.6198 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.0007082/0.2502, allocations: 0.6968 MB / 0.9841 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.2505, allocations: 28.02 kB / 0.9841 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2505, allocations: 0 / 0.9841 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2506, allocations: 19.92 kB / 0.9842 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2509, allocations: 4 kB / 0.9842 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2524, allocations: 476.5 kB / 0.9846 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2526, allocations: 0.6848 MB / 0.9853 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.2526, allocations: 8 kB / 0.9853 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.2527, allocations: 15.42 kB / 0.9853 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2527, allocations: 0 / 0.9853 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.2761, allocations: 1.251 MB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.2764, allocations: 172.1 kB / 0.9867 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.719, allocations: 4 kB / 0.9867 GB, free: 19.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)