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.006839/0.006839, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001672/0.001672, allocations: 196 kB / 16.79 MB, free: 6.254 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.438 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 0.9642/0.9642, allocations: 143.1 MB / 433.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 55.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2157, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.003069/0.2188, allocations: 1.56 MB / 0.5958 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.22, allocations: 0.6515 MB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.22, allocations: 4 kB / 0.5964 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.2201, allocations: 3.938 kB / 0.5964 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.2202, allocations: 3.938 kB / 0.5964 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2205, allocations: 63.88 kB / 0.5965 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.2206, allocations: 27.92 kB / 0.5965 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2207, allocations: 15.98 kB / 0.5965 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.2208, allocations: 15.92 kB / 0.5965 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.2209, allocations: 15.92 kB / 0.5966 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2209, allocations: 15.81 kB / 0.5966 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2211, allocations: 95.91 kB / 0.5967 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.2211, allocations: 7.969 kB / 0.5967 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.2212, allocations: 19.88 kB / 0.5967 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2213, allocations: 56.2 kB / 0.5967 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2213, allocations: 0 / 0.5967 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2213, allocations: 0 / 0.5967 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.2214, allocations: 0 / 0.5967 GB, free: 7.488 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.0005084/0.2219, allocations: 370.8 kB / 0.5971 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2219, allocations: 8.031 kB / 0.5971 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.222, allocations: 4.938 kB / 0.5971 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2221, allocations: 176.2 kB / 0.5973 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2221, allocations: 4.375 kB / 0.5973 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.2221, allocations: 4.375 kB / 0.5973 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2223, allocations: 61.92 kB / 0.5974 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2223, allocations: 0 / 0.5974 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2223, allocations: 0 / 0.5974 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2223, allocations: 0 / 0.5974 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.2224, allocations: 23.98 kB / 0.5974 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.2228, allocations: 284.7 kB / 0.5976 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.2229, allocations: 34.5 kB / 0.5977 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.223, allocations: 16.92 kB / 0.5977 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.2235, allocations: 0.5583 MB / 0.5982 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2235, allocations: 34.56 kB / 0.5983 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.2235, allocations: 0 / 0.5983 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002603/0.2238, allocations: 61.67 kB / 0.5983 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2238, allocations: 55.34 kB / 0.5984 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.2239, allocations: 121.8 kB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2239, allocations: 29.7 kB / 0.5985 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.224, allocations: 104.1 kB / 0.5986 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.224, allocations: 0 / 0.5986 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.224, allocations: 13.72 kB / 0.5986 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2241, allocations: 322.8 kB / 0.5989 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.248e-05/0.2242, allocations: 8 kB / 0.599 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.2242, allocations: 11.98 kB / 0.599 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.982e-05/0.2243, allocations: 24.92 kB / 0.599 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2243, allocations: 0 / 0.599 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.2245, allocations: 61.58 kB / 0.5991 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2245, allocations: 4 kB / 0.5991 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2245, allocations: 3.938 kB / 0.5991 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2245, allocations: 0 / 0.5991 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.2246, allocations: 4 kB / 0.5991 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2246, allocations: 7.938 kB / 0.5991 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.2247, allocations: 3.984 kB / 0.5991 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2247, allocations: 4.031 kB / 0.5991 GB, free: 4.754 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 7.268e-05/0.2247, allocations: 117.8 kB / 0.5992 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.2248, allocations: 7.906 kB / 0.5992 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.2249, allocations: 61.2 kB / 0.5993 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.225, allocations: 0 / 0.5993 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.225, allocations: 0 / 0.5993 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.225, allocations: 0 / 0.5993 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2251, allocations: 165.6 kB / 0.5994 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2252, allocations: 4.031 kB / 0.5994 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.2252, allocations: 15.92 kB / 0.5994 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2252, allocations: 0 / 0.5994 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2252, allocations: 0 / 0.5994 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2252, allocations: 4 kB / 0.5994 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2252, allocations: 0 / 0.5994 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2254, allocations: 147.5 kB / 0.5996 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.2255, allocations: 93.03 kB / 0.5997 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2255, allocations: 0 / 0.5997 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.2256, allocations: 0 / 0.5997 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2256, allocations: 7.938 kB / 0.5997 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2256, allocations: 3.984 kB / 0.5997 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.2257, allocations: 95.27 kB / 0.5998 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2257, allocations: 4 kB / 0.5998 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.2259, allocations: 11.94 kB / 0.5998 GB, free: 3.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 (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.0001557/0.2261, allocations: 107.2 kB / 0.5999 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.2262, allocations: 27.92 kB / 0.5999 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2262, allocations: 0 / 0.5999 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.2263, allocations: 15.98 kB / 0.5999 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.2265, allocations: 2.953 kB / 0.5999 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.2268, allocations: 170.2 kB / 0.6001 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2271, allocations: 0.6809 MB / 0.6008 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.2271, allocations: 15.42 kB / 0.6008 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2271, allocations: 0 / 0.6008 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.002352/0.2295, allocations: 0.7187 MB / 0.6015 GB, free: 2.133 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)