Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.00918/0.00918, allocations: 171.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005302, allocations: 22.56 kB / 0.6743 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006532/0.2264, allocations: 331.4 kB / 0.7882 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2279, allocations: 1.266 MB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-06/0.228, allocations: 0 / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.228, allocations: 0 / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.228, allocations: 3.938 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.2283, allocations: 47.89 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.194e-05/0.2283, allocations: 3.984 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.2284, allocations: 0 / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.2284, allocations: 4 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.487e-05/0.2284, allocations: 0 / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.472e-06/0.2284, allocations: 4 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2287, allocations: 95.83 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.2287, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.2287, allocations: 25.7 kB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2288, allocations: 51.94 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2288, allocations: 3.938 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2288, allocations: 0 / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.2289, allocations: 0 / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002494/0.2291, allocations: 319.6 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2291, allocations: 16.03 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2292, allocations: 4.938 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.2293, allocations: 164.4 kB / 0.7901 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.2293, allocations: 4.312 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.2293, allocations: 384 / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.2294, allocations: 33.83 kB / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2294, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.2294, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2294, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.2294, allocations: 0 / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.2296, allocations: 153.7 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.2296, allocations: 22.52 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.2296, allocations: 4.953 kB / 0.7904 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.2301, allocations: 0.5583 MB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.2302, allocations: 42.48 kB / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2302, allocations: 0 / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.2303, allocations: 37.64 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2303, allocations: 51.41 kB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.2304, allocations: 89.86 kB / 0.7911 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2304, allocations: 25.7 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.2304, allocations: 84.14 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2305, allocations: 3.906 kB / 0.7912 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.2305, allocations: 13.84 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2306, allocations: 310.8 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.2306, allocations: 0 / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-06/0.2306, allocations: 11.98 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.2307, allocations: 4.859 kB / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2307, allocations: 0 / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.315e-05/0.2307, allocations: 37.64 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2307, allocations: 7.938 kB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2307, allocations: 4.094 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.2308, allocations: 0 / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.2308, allocations: 4 kB / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.2308, allocations: 0 / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.2308, allocations: 3.938 kB / 0.7916 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.2308, allocations: 0 / 0.7916 GB, free: 7.383 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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 5.949e-05/0.2309, allocations: 110.5 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.2309, allocations: 7.938 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.231, allocations: 40.83 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.231, allocations: 3.938 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.231, allocations: 0 / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.231, allocations: 3.984 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.979e-05/0.2311, allocations: 150 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2311, allocations: 3.938 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.2311, allocations: 0 / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2312, allocations: 3.938 kB / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.2312, allocations: 0 / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2312, allocations: 0 / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2312, allocations: 8.031 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.2312, allocations: 57.12 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.2313, allocations: 81.05 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.2313, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.2313, allocations: 8 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.2313, allocations: 0 / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.2313, allocations: 0 / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.2314, allocations: 79.31 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2314, allocations: 0 / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001834/0.2316, allocations: 8 kB / 0.7921 GB, free: 6.723 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.0001433/0.2317, allocations: 115.2 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.2318, allocations: 7.938 kB / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2318, allocations: 0 / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.2318, allocations: 4 kB / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.2319, allocations: 4.125 kB / 0.7923 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001479/0.2321, allocations: 78.69 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2323, allocations: 0.677 MB / 0.793 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.2323, allocations: 3.984 kB / 0.793 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.2323, allocations: 7.438 kB / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2323, allocations: 0 / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.001954/0.2343, allocations: 295.7 kB / 0.7933 GB, free: 5.48 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: