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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001347/0.001347, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.86/1.86, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.000568/0.000568, allocations: 14.75 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2919, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001206/0.2932, allocations: 343.4 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2953, allocations: 1.262 MB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.2953, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.2954, allocations: 4 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.201e-05/0.2954, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.2958, allocations: 55.86 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.2958, allocations: 23.92 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.2959, allocations: 0 / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.2959, allocations: 7.984 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.296, allocations: 23.91 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.296, allocations: 0 / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2962, allocations: 87.91 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2963, allocations: 11.98 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2963, allocations: 29.64 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2964, allocations: 43.94 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2964, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2964, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2964, allocations: 0 / 0.7891 GB, free: 10.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004815/0.2969, allocations: 351.5 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.297, allocations: 8.031 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.297, allocations: 4 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2972, allocations: 171 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2972, allocations: 0 / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2972, allocations: 8 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2974, allocations: 45.69 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2974, allocations: 0 / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2974, allocations: 0 / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2974, allocations: 0 / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.2975, allocations: 39.89 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2977, allocations: 177.5 kB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2978, allocations: 50.56 kB / 0.79 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2979, allocations: 28.84 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/0.2984, allocations: 0.5505 MB / 0.7905 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2985, allocations: 38.56 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2985, allocations: 4 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01651/0.315, allocations: 4.216 MB / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3151, allocations: 59.3 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.3152, allocations: 93.86 kB / 0.7948 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3153, allocations: 29.7 kB / 0.7948 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3153, allocations: 84.27 kB / 0.7949 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3154, allocations: 55.2 kB / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.3155, allocations: 0 / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3156, allocations: 318.8 kB / 0.7953 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.3162, allocations: 307.9 kB / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.3167, allocations: 319.8 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.3174, allocations: 374.9 kB / 0.7962 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3174, allocations: 0 / 0.7962 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001435/0.3188, allocations: 0.7826 MB / 0.797 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3189, allocations: 15.98 kB / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3189, allocations: 0 / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3189, allocations: 0 / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.3196, allocations: 95.89 kB / 0.7971 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3196, allocations: 3.953 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.32, allocations: 8 kB / 0.7971 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.3201, allocations: 39.97 kB / 0.7972 GB, free: 1.344 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 (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.0001692/0.3203, allocations: 110.5 kB / 0.7973 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.3203, allocations: 11.84 kB / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.3237, allocations: 1.392 MB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.3237, allocations: 8 kB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3237, allocations: 0 / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.3237, allocations: 7.938 kB / 0.7987 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.3266, allocations: 1.806 MB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3267, allocations: 0 / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.3274, allocations: 111.9 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.3274, allocations: 4 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.3275, allocations: 27.98 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.3275, allocations: 8 kB / 0.8006 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3275, allocations: 0 / 0.8006 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.3298, allocations: 1.453 MB / 0.802 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3299, allocations: 92.91 kB / 0.8021 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.33, allocations: 7.953 kB / 0.8021 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3304, allocations: 12 kB / 0.8021 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3305, allocations: 39.97 kB / 0.8021 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.3306, allocations: 32 kB / 0.8022 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.3306, allocations: 79.27 kB / 0.8022 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3306, allocations: 0 / 0.8022 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005987/0.3312, allocations: 180.1 kB / 0.8024 GB, free: 11.86 MB / 0.6231 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 () * Number of clocked 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.000528/0.3318, allocations: 223.6 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.333, allocations: 0.7229 MB / 0.8033 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.333, allocations: 0 / 0.8033 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.3337, allocations: 451.8 kB / 0.8038 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.334, allocations: 16 kB / 0.8038 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.3369, allocations: 0.8505 MB / 0.8046 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3372, allocations: 0.7223 MB / 0.8053 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001434/0.3386, allocations: 289.5 kB / 0.8056 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.3391, allocations: 99.34 kB / 0.8057 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.3391, allocations: 4 kB / 0.8057 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of Templates: time 0.01496/0.3541, allocations: 10.36 MB / 0.8158 GB, free: 14.13 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: