Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_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.005372/0.005372, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001246/0.001246, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 295.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9914/0.9914, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 100.2 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5143, allocations: 86.97 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003222/0.5176, allocations: 1.488 MB / 0.7674 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.5191, allocations: 0.6492 MB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.5192, allocations: 3.938 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.5192, allocations: 3.938 kB / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.5193, allocations: 7.922 kB / 0.768 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.5198, allocations: 83.72 kB / 0.7681 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.5199, allocations: 31.92 kB / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.52, allocations: 15.8 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.373e-05/0.5201, allocations: 27.86 kB / 0.7682 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.5202, allocations: 19.91 kB / 0.7682 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.5202, allocations: 4 kB / 0.7682 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.5205, allocations: 95.91 kB / 0.7683 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.5206, allocations: 7.938 kB / 0.7683 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.5206, allocations: 23.91 kB / 0.7683 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.5209, allocations: 83.3 kB / 0.7684 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5209, allocations: 4 kB / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5209, allocations: 0 / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5209, allocations: 0 / 0.7684 GB, free: 1.301 MB / 0.5294 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.0007075/0.5216, allocations: 360.8 kB / 0.7687 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5217, allocations: 16.02 kB / 0.7688 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.5218, allocations: 38.69 kB / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.5218, allocations: 0.9375 kB / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.522, allocations: 176.2 kB / 0.769 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.522, allocations: 8.375 kB / 0.769 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.5221, allocations: 384 / 0.769 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.5223, allocations: 57.8 kB / 0.769 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5223, allocations: 4 kB / 0.769 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5223, allocations: 0 / 0.769 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5223, allocations: 4 kB / 0.769 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5225, allocations: 27.98 kB / 0.7691 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.523, allocations: 280.7 kB / 0.7693 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5231, allocations: 38.62 kB / 0.7694 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.5232, allocations: 8.859 kB / 0.7694 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/0.524, allocations: 0.5661 MB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.524, allocations: 30.56 kB / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.5241, allocations: 4 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.5244, allocations: 69.56 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.5245, allocations: 51.41 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.5246, allocations: 125.8 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5246, allocations: 25.7 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.5247, allocations: 92.12 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.5248, allocations: 3.953 kB / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.5248, allocations: 21.84 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.525, allocations: 318.8 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.5251, allocations: 8 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.5251, allocations: 11.98 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5253, allocations: 24.84 kB / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5253, allocations: 0 / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.5255, allocations: 61.64 kB / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5255, allocations: 8 kB / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5255, allocations: 0 / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5256, allocations: 0 / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.5256, allocations: 4 kB / 0.7707 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.5257, allocations: 3.984 kB / 0.7708 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.5257, allocations: 11.94 kB / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5257, allocations: 3.938 kB / 0.7708 GB, free: 14.51 MB / 0.545 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 0.0001036/0.5259, allocations: 109.9 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.5259, allocations: 4 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.5262, allocations: 65.14 kB / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5262, allocations: 0 / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5262, allocations: 4 kB / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5262, allocations: 0 / 0.7709 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.5265, allocations: 177.5 kB / 0.7711 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5265, allocations: 0 / 0.7711 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.5266, allocations: 7.984 kB / 0.7711 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5266, allocations: 4.031 kB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5266, allocations: 3.938 kB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5266, allocations: 0 / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5267, allocations: 0 / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.5269, allocations: 151.5 kB / 0.7713 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.527, allocations: 85.06 kB / 0.7714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.527, allocations: 0 / 0.7714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5272, allocations: 16.02 kB / 0.7714 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.5272, allocations: 3.938 kB / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.5272, allocations: 0 / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.083e-05/0.5273, allocations: 99.2 kB / 0.7715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5273, allocations: 0 / 0.7715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004128/0.5278, allocations: 11.98 kB / 0.7715 GB, free: 13.68 MB / 0.545 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.0007216/0.5285, allocations: 0.689 MB / 0.7721 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.5287, allocations: 27.92 kB / 0.7722 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5287, allocations: 0 / 0.7722 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.5288, allocations: 12 kB / 0.7722 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.5291, allocations: 0 / 0.7722 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.5311, allocations: 1.315 MB / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.5315, allocations: 0.6845 MB / 0.7741 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.5316, allocations: 4 kB / 0.7741 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.5317, allocations: 19.42 kB / 0.7742 GB, free: 10.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.5317, allocations: 0 / 0.7742 GB, free: 10.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.5598, allocations: 1.518 MB / 0.7756 GB, free: 9.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.377, allocations: 4.25 kB / 0.7756 GB, free: 9.375 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)