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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, 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.001728/0.001728, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.021/1.021, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 0.5142 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 82.03 MB / 0.5943 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.003112/0.1788, allocations: 1.484 MB / 0.5957 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1801, allocations: 0.6514 MB / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.1802, allocations: 0 / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.1802, allocations: 3.938 kB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.1803, allocations: 7.938 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1807, allocations: 87.66 kB / 0.5965 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.1808, allocations: 31.92 kB / 0.5965 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.181, allocations: 16 kB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.1811, allocations: 11.92 kB / 0.5965 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.1811, allocations: 19.92 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1812, allocations: 4 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1814, allocations: 95.89 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1814, allocations: 19.92 kB / 0.5966 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.1815, allocations: 11.94 kB / 0.5967 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1817, allocations: 92.03 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1817, allocations: 0 / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1817, allocations: 0 / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1817, allocations: 0 / 0.5967 GB, free: 7.062 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.000541/0.1823, allocations: 363.3 kB / 0.5971 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1823, allocations: 12.03 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.1824, allocations: 4.938 kB / 0.5971 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1825, allocations: 180.2 kB / 0.5973 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1825, allocations: 384 / 0.5973 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1826, allocations: 4.375 kB / 0.5973 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1828, allocations: 61.97 kB / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1828, allocations: 0 / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1828, allocations: 0 / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1828, allocations: 4 kB / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1829, allocations: 23.98 kB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1834, allocations: 292.6 kB / 0.5976 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.1835, allocations: 30.56 kB / 0.5977 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.1836, allocations: 12.92 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/0.1841, allocations: 0.5583 MB / 0.5982 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1842, allocations: 38.56 kB / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.1842, allocations: 0 / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002888/0.1845, allocations: 65.61 kB / 0.5983 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1845, allocations: 55.41 kB / 0.5984 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1846, allocations: 125.7 kB / 0.5985 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1847, allocations: 29.7 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.1848, allocations: 100.1 kB / 0.5986 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1848, allocations: 4 kB / 0.5986 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1848, allocations: 9.719 kB / 0.5986 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.185, allocations: 326.8 kB / 0.599 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.185, allocations: 4 kB / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.1851, allocations: 15.98 kB / 0.599 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.1852, allocations: 28.78 kB / 0.599 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1852, allocations: 4.062 kB / 0.599 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001418/0.1853, allocations: 53.59 kB / 0.5991 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1853, allocations: 8 kB / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1854, allocations: 0 / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1854, allocations: 0 / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.1855, allocations: 7.984 kB / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1855, allocations: 0 / 0.5991 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.1855, allocations: 4 kB / 0.5991 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1855, allocations: 0 / 0.5991 GB, free: 4.32 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.441e-05/0.1856, allocations: 117.8 kB / 0.5992 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1857, allocations: 7.906 kB / 0.5992 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1859, allocations: 65.14 kB / 0.5993 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1859, allocations: 0 / 0.5993 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1859, allocations: 0 / 0.5993 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1859, allocations: 7.984 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1861, allocations: 161.6 kB / 0.5994 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1861, allocations: 4 kB / 0.5994 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.1862, allocations: 16.02 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1862, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1862, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1862, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1862, allocations: 4 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1864, allocations: 155.4 kB / 0.5996 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1864, allocations: 81.05 kB / 0.5997 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1865, allocations: 4 kB / 0.5997 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.1865, allocations: 15.88 kB / 0.5997 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1866, allocations: 0 / 0.5997 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1866, allocations: 3.984 kB / 0.5997 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.1867, allocations: 91.28 kB / 0.5998 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1867, allocations: 0 / 0.5998 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002395/0.1869, allocations: 15.92 kB / 0.5998 GB, free: 3.48 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.0002219/0.1871, allocations: 107.2 kB / 0.5999 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1873, allocations: 23.98 kB / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.1873, allocations: 0 / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.1874, allocations: 19.92 kB / 0.5999 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1876, allocations: 0 / 0.5999 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.188, allocations: 142.7 kB / 0.6001 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1883, allocations: 0.6807 MB / 0.6007 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.1884, allocations: 7.984 kB / 0.6007 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1884, allocations: 7.438 kB / 0.6008 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.1884, allocations: 0 / 0.6008 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of Templates: time 0.002939/0.1913, allocations: 497.5 kB / 0.6012 GB, free: 1.957 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)