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.00174/0.00174, allocations: 101.4 kB / 15.7 MB, free: 28 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.002375/0.002375, allocations: 198.3 kB / 16.64 MB, free: 6.43 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.375/1.375, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002493/0.002493, allocations: 74.59 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2556, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002946/0.2586, allocations: 1.5 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2598, allocations: 0.6689 MB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.2599, allocations: 4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.2599, allocations: 11.86 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.26, allocations: 7.875 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.2604, allocations: 83.72 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.2605, allocations: 31.92 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2606, allocations: 12 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.2607, allocations: 15.92 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.2608, allocations: 19.92 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2608, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.261, allocations: 99.89 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.261, allocations: 7.938 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.261, allocations: 11.94 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2612, allocations: 95.97 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2612, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2612, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2613, allocations: 3.938 kB / 0.7861 GB, free: 10.65 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.0004301/0.2617, allocations: 355.3 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2617, allocations: 12.03 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.2618, allocations: 34.75 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2618, allocations: 8.938 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2619, allocations: 164.3 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.262, allocations: 4.375 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.262, allocations: 4.359 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2621, allocations: 53.81 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2622, allocations: 4 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2622, allocations: 0 / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2622, allocations: 0 / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.2623, allocations: 35.91 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.2626, allocations: 288.6 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.2628, allocations: 30.58 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.2628, allocations: 12.91 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/0.2633, allocations: 0.5662 MB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2634, allocations: 30.56 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2634, allocations: 0 / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002406/0.2636, allocations: 65.66 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2636, allocations: 51.41 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.2637, allocations: 125.8 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2638, allocations: 25.7 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2638, allocations: 104.1 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.2638, allocations: 0 / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.2639, allocations: 13.72 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.264, allocations: 326.8 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.2641, allocations: 8 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.2641, allocations: 19.86 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.2642, allocations: 28.91 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2642, allocations: 0 / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.2644, allocations: 53.59 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2644, allocations: 8 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2644, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2644, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.2645, allocations: 7.984 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2645, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.2646, allocations: 8 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2646, allocations: 11.97 kB / 0.7885 GB, free: 7.867 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 6.663e-05/0.2647, allocations: 110.4 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2647, allocations: 7.906 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.2648, allocations: 61.2 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2649, allocations: 0 / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2649, allocations: 0 / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2649, allocations: 4 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.265, allocations: 165.6 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2651, allocations: 11.97 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.2651, allocations: 7.984 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2651, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2651, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2651, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2651, allocations: 0 / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.2653, allocations: 155.4 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.2654, allocations: 85.05 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.2654, allocations: 4 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2655, allocations: 4 kB / 0.7891 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.2655, allocations: 0 / 0.7891 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2655, allocations: 3.984 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.2656, allocations: 95.22 kB / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002461/0.2658, allocations: 11.98 kB / 0.7892 GB, free: 7.051 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.0005758/0.2664, allocations: 0.6967 MB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.2666, allocations: 23.98 kB / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2666, allocations: 0 / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.2666, allocations: 16.09 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2669, allocations: 0.9375 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2683, allocations: 1.316 MB / 0.7912 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.2686, allocations: 0.6807 MB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2686, allocations: 0 / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2687, allocations: 23.42 kB / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.2687, allocations: 0 / 0.7919 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.2867, allocations: 1.483 MB / 0.7933 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.821, allocations: 11.75 kB / 0.7934 GB, free: 2.738 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)