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.001364/0.001363, allocations: 108 kB / 15.61 MB, free: 152 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.001243/0.001243, allocations: 195 kB / 16.53 MB, free: 6.699 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 286.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 100.5 kB / 0.6065 GB, free: 24.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1637, allocations: 89.16 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002951/0.1667, allocations: 1.483 MB / 0.6951 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1678, allocations: 0.6418 MB / 0.6957 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1679, allocations: 0.9688 kB / 0.6957 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.1679, allocations: 7.922 kB / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.168, allocations: 12.61 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1684, allocations: 80.92 kB / 0.6958 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.1685, allocations: 35.92 kB / 0.6958 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1686, allocations: 17.75 kB / 0.6958 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.1686, allocations: 23.91 kB / 0.6959 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.1687, allocations: 27.27 kB / 0.6959 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1687, allocations: 4 kB / 0.6959 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.1689, allocations: 91.91 kB / 0.696 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1689, allocations: 11.98 kB / 0.696 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.169, allocations: 19.86 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1692, allocations: 75.84 kB / 0.6961 GB, free: 1.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1692, allocations: 4 kB / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1692, allocations: 0 / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1692, allocations: 3.938 kB / 0.6961 GB, free: 1.688 MB / 494.1 MB 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.0004851/0.1697, allocations: 372.5 kB / 0.6964 GB, free: 1.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1697, allocations: 12.03 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.1698, allocations: 34.75 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.1698, allocations: 0.9375 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.17, allocations: 168.3 kB / 0.6966 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.17, allocations: 4.375 kB / 0.6966 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.17, allocations: 4.375 kB / 0.6966 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1702, allocations: 57.73 kB / 0.6967 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1702, allocations: 0 / 0.6967 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1702, allocations: 7.984 kB / 0.6967 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1702, allocations: 4 kB / 0.6967 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.1703, allocations: 35.91 kB / 0.6967 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1707, allocations: 276.7 kB / 0.697 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1708, allocations: 34.56 kB / 0.697 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.1709, allocations: 12.92 kB / 0.6971 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.1715, allocations: 0.5661 MB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1715, allocations: 34.56 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1716, allocations: 0 / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002458/0.1718, allocations: 65.67 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1718, allocations: 51.41 kB / 0.6978 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.172, allocations: 122 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.172, allocations: 25.7 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1721, allocations: 96.03 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1721, allocations: 4 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.1721, allocations: 13.72 kB / 0.698 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1723, allocations: 322.8 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.1723, allocations: 4 kB / 0.6983 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.1724, allocations: 15.92 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.017e-05/0.1724, allocations: 32.91 kB / 0.6984 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1725, allocations: 0 / 0.6984 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001204/0.1726, allocations: 53.59 kB / 0.6984 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1726, allocations: 8 kB / 0.6984 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1726, allocations: 0 / 0.6984 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1726, allocations: 3.938 kB / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.1727, allocations: 7.984 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1727, allocations: 4.031 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.1728, allocations: 4 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1728, allocations: 7.922 kB / 0.6984 GB, free: 14.9 MB / 0.4981 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 8.421e-05/0.1729, allocations: 114.4 kB / 0.6986 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1729, allocations: 7.906 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.1731, allocations: 61.14 kB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1731, allocations: 0 / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1731, allocations: 8.031 kB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1731, allocations: 0 / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1733, allocations: 169.6 kB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1733, allocations: 0 / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.1733, allocations: 7.984 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1733, allocations: 0 / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1733, allocations: 0 / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1733, allocations: 0 / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1734, allocations: 0 / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1735, allocations: 167.3 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1736, allocations: 77.11 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1736, allocations: 0 / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.1737, allocations: 4 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1737, allocations: 0 / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1737, allocations: 3.984 kB / 0.699 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.454e-05/0.1738, allocations: 103.6 kB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1738, allocations: 0 / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002213/0.174, allocations: 16.02 kB / 0.6992 GB, free: 14.07 MB / 0.4981 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.0005301/0.1746, allocations: 0.6889 MB / 0.6998 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1747, allocations: 27.98 kB / 0.6999 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1747, allocations: 4.094 kB / 0.6999 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.1748, allocations: 8 kB / 0.6999 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.175, allocations: 4 kB / 0.6999 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1764, allocations: 1.316 MB / 0.7012 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1767, allocations: 0.6846 MB / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1767, allocations: 3.938 kB / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1767, allocations: 23.38 kB / 0.7018 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1768, allocations: 0 / 0.7018 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1986, allocations: 1.48 MB / 0.7033 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.567, allocations: 8 kB / 0.7033 GB, free: 9.762 MB / 0.4981 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)