Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008004/0.0008005, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009808/0.0009809, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.015/1.015, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 83.41 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.001681/0.1812, allocations: 1.198 MB / 0.5987 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1822, allocations: 0.5974 MB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.1823, allocations: 4 kB / 0.5993 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.1823, allocations: 3.938 kB / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.1824, allocations: 4 kB / 0.5993 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1827, allocations: 59.81 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.1828, allocations: 27.92 kB / 0.5994 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.1829, allocations: 11.98 kB / 0.5994 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.183, allocations: 11.94 kB / 0.5994 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.1831, allocations: 19.91 kB / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1831, allocations: 4 kB / 0.5994 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1833, allocations: 91.84 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1833, allocations: 7.984 kB / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1834, allocations: 29.7 kB / 0.5996 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1835, allocations: 60.12 kB / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1835, allocations: 3.938 kB / 0.5996 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1835, allocations: 7.875 kB / 0.5996 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.1835, allocations: 0 / 0.5996 GB, free: 5.531 MB / 0.4981 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.0004378/0.184, allocations: 363.2 kB / 0.6 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.184, allocations: 8.031 kB / 0.6 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1841, allocations: 34.56 kB / 0.6 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1841, allocations: 7.906 kB / 0.6 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1842, allocations: 171 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1842, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1842, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1844, allocations: 57.67 kB / 0.6002 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1844, allocations: 4 kB / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1844, allocations: 0 / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1844, allocations: 4 kB / 0.6002 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.1845, allocations: 35.91 kB / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1849, allocations: 276.8 kB / 0.6005 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.185, allocations: 34.58 kB / 0.6006 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1851, allocations: 20.84 kB / 0.6006 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.1856, allocations: 0.5583 MB / 0.6011 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1856, allocations: 38.55 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1856, allocations: 0 / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002517/0.1859, allocations: 73.55 kB / 0.6013 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1859, allocations: 51.41 kB / 0.6013 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.186, allocations: 121.8 kB / 0.6014 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.186, allocations: 25.7 kB / 0.6014 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1861, allocations: 96.2 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1861, allocations: 3.984 kB / 0.6015 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.1861, allocations: 0 / 0.6015 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1862, allocations: 322.8 kB / 0.6018 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.1863, allocations: 15.94 kB / 0.6019 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.1863, allocations: 11.98 kB / 0.6019 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.1864, allocations: 20 kB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1864, allocations: 0 / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.1865, allocations: 57.67 kB / 0.6019 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1865, allocations: 5.875 kB / 0.602 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1865, allocations: 0 / 0.602 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1865, allocations: 0 / 0.602 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1866, allocations: 15.94 kB / 0.602 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1866, allocations: 4.031 kB / 0.602 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.1867, allocations: 15.89 kB / 0.602 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1867, allocations: 0 / 0.602 GB, free: 2.762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.1868, allocations: 105.8 kB / 0.6021 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1868, allocations: 4 kB / 0.6021 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.187, allocations: 73.08 kB / 0.6022 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.187, allocations: 4.031 kB / 0.6022 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.187, allocations: 3.953 kB / 0.6022 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.187, allocations: 4 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1872, allocations: 165.6 kB / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1872, allocations: 4 kB / 0.6023 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.1873, allocations: 7.984 kB / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1873, allocations: 0 / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1873, allocations: 0 / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1873, allocations: 0 / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1873, allocations: 0 / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1875, allocations: 167.3 kB / 0.6025 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1875, allocations: 81.09 kB / 0.6026 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1875, allocations: 0 / 0.6026 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.1876, allocations: 4 kB / 0.6026 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1876, allocations: 0 / 0.6026 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1877, allocations: 8.031 kB / 0.6026 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.1877, allocations: 91.7 kB / 0.6027 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1877, allocations: 0 / 0.6027 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002259/0.188, allocations: 23.86 kB / 0.6027 GB, free: 1.926 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 (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.0004777/0.1884, allocations: 0.689 MB / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1886, allocations: 35.91 kB / 0.6034 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1886, allocations: 0 / 0.6034 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.1886, allocations: 8 kB / 0.6034 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1889, allocations: 8.156 kB / 0.6034 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.1896, allocations: 470.9 kB / 0.6039 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2832/0.4728, allocations: 0.6797 MB / 0.6045 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.4729, allocations: 3.75 kB / 0.6045 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.4729, allocations: 12.89 kB / 0.6046 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.512e-06/0.4729, allocations: 1 kB / 0.6046 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.4836, allocations: 1.275 MB / 0.6058 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001121/0.4838, allocations: 184.2 kB / 0.606 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.145, allocations: 2.188 kB / 0.606 GB, free: 40.05 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: