Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008724, allocations: 92.14 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.449e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.613, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.7925, allocations: 138.8 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.7927, allocations: 78.05 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006639/0.7994, allocations: 2.328 MB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7994, allocations: 0 / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7994, allocations: 0 / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003016/0.7997, allocations: 344.5 kB / 1.112 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7998, allocations: 8.031 kB / 1.112 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.7998, allocations: 7.906 kB / 1.112 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.7999, allocations: 171.6 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.7999, allocations: 0 / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.8, allocations: 8.547 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.921e-05/0.8001, allocations: 20.69 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.8002, allocations: 45.69 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8002, allocations: 3.219 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.8002, allocations: 0 / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8002, allocations: 7.984 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.8004, allocations: 141.1 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.461e-05/0.8005, allocations: 58.52 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.8005, allocations: 20.86 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000405/0.8009, allocations: 0.5531 MB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.801, allocations: 42.5 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.801, allocations: 0 / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.01219/0.8132, allocations: 3.318 MB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8132, allocations: 51.41 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.8133, allocations: 93 kB / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.8134, allocations: 25.7 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.8134, allocations: 80.14 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8135, allocations: 59.11 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.8136, allocations: 0 / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8137, allocations: 318.8 kB / 1.116 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.8142, allocations: 312.1 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.8146, allocations: 304 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.8153, allocations: 373.2 kB / 1.117 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8153, allocations: 0 / 1.117 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001296/0.8166, allocations: 0.7761 MB / 1.118 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8166, allocations: 4 kB / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8166, allocations: 0 / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8166, allocations: 4 kB / 1.118 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.8174, allocations: 91.94 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8174, allocations: 0 / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.818, allocations: 8 kB / 1.118 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.818, allocations: 31.98 kB / 1.118 GB, free: 1.309 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001811/0.8182, allocations: 116.9 kB / 1.118 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.8183, allocations: 11.09 kB / 1.118 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.8214, allocations: 1.331 MB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8214, allocations: 4 kB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8214, allocations: 0 / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.8214, allocations: 7.984 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.8239, allocations: 1.7 MB / 1.121 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8239, allocations: 0 / 1.121 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.8247, allocations: 107.9 kB / 1.121 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8247, allocations: 0 / 1.121 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.8248, allocations: 24 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.8248, allocations: 7.969 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8248, allocations: 3.984 kB / 1.121 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.8267, allocations: 1.388 MB / 1.123 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.8268, allocations: 100.9 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.8269, allocations: 3.938 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.8274, allocations: 7.984 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.8275, allocations: 49.86 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.8276, allocations: 31.98 kB / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.8276, allocations: 79.28 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8276, allocations: 0 / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000589/0.8282, allocations: 195.7 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.000482/0.8287, allocations: 246.8 kB / 1.124 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009752/0.8297, allocations: 0.7001 MB / 1.124 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8297, allocations: 4.094 kB / 1.124 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.8302, allocations: 427.8 kB / 1.125 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.8304, allocations: 0 / 1.125 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.8335, allocations: 0.687 MB / 1.125 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.8337, allocations: 0.7219 MB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001415/0.8352, allocations: 294.5 kB / 1.126 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.8357, allocations: 87.41 kB / 1.126 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.8357, allocations: 4 kB / 1.126 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.01487/0.8506, allocations: 10.12 MB / 1.136 GB, free: 14.79 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)