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.001834/0.001833, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001788/0.001788, allocations: 194.2 kB / 16.14 MB, free: 6.664 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.735/1.735, allocations: 205.1 MB / 222 MB, free: 4.738 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.698/1.698, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001448/0.001448, allocations: 65.67 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002479/0.2522, allocations: 1.557 MB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2533, allocations: 0.6963 MB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.2533, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.2534, allocations: 3.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.2534, allocations: 7.938 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2537, allocations: 51.88 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.2538, allocations: 43.8 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.2539, allocations: 12 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.254, allocations: 15.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.254, allocations: 19.91 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.254, allocations: 0 / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.2542, allocations: 95.84 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2542, allocations: 7.984 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2543, allocations: 15.88 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2544, allocations: 88.05 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2544, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2544, allocations: 3.938 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2544, allocations: 4 kB / 0.7853 GB, free: 11.3 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.0004283/0.2549, allocations: 359.3 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2549, allocations: 12.03 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.255, allocations: 34.75 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.255, allocations: 4.938 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2551, allocations: 164.3 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2551, allocations: 8.359 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2551, allocations: 384 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2553, allocations: 53.81 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2553, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2553, allocations: 7.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2553, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2555, allocations: 27.98 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.2559, allocations: 284.7 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.256, allocations: 38.52 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.2561, allocations: 12.91 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.2565, allocations: 0.5583 MB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2566, allocations: 30.56 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2566, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.2568, allocations: 65.67 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2568, allocations: 51.41 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2569, allocations: 122.2 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.257, allocations: 25.7 kB / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.257, allocations: 92.03 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.257, allocations: 7.938 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2571, allocations: 13.72 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.2572, allocations: 322.9 kB / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.2572, allocations: 12 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.2572, allocations: 11.98 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.2573, allocations: 24.84 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2573, allocations: 3.938 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/0.2575, allocations: 57.53 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2575, allocations: 4 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2575, allocations: 8.094 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.2575, allocations: 0 / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.2576, allocations: 11.92 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.2576, allocations: 4 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.2576, allocations: 4 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.2576, allocations: 11.92 kB / 0.7877 GB, free: 8.523 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.436e-05/0.2577, allocations: 105.8 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.2577, allocations: 7.906 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.2579, allocations: 65.2 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2579, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2579, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2579, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2581, allocations: 169.6 kB / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2581, allocations: 0 / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.2581, allocations: 11.98 kB / 0.788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2581, allocations: 0 / 0.788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.2581, allocations: 0 / 0.788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2581, allocations: 3.938 kB / 0.788 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2582, allocations: 4.031 kB / 0.788 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.2583, allocations: 151.5 kB / 0.7882 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.2584, allocations: 85.02 kB / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2584, allocations: 0 / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.2584, allocations: 4 kB / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2585, allocations: 0 / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2585, allocations: 8.016 kB / 0.7883 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.2586, allocations: 99.27 kB / 0.7884 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 0 / 0.7884 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002203/0.2588, allocations: 11.98 kB / 0.7884 GB, free: 7.707 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.0004305/0.2592, allocations: 0.6967 MB / 0.7891 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.2593, allocations: 27.92 kB / 0.7891 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2594, allocations: 0 / 0.7891 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.2594, allocations: 12 kB / 0.7891 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2596, allocations: 3.938 kB / 0.7891 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2607, allocations: 1.318 MB / 0.7904 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.261, allocations: 0.6848 MB / 0.7911 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.261, allocations: 4 kB / 0.7911 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.261, allocations: 11.44 kB / 0.7911 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.261, allocations: 0 / 0.7911 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009824/0.2709, allocations: 1.334 MB / 0.7924 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.2711, allocations: 190.4 kB / 0.7926 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.913, allocations: 0 / 0.7926 GB, free: 3.305 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)