Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002501/0.002505, allocations: 359.9 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.623/1.623, allocations: 165.8 MB / 183.1 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.68/3.68, allocations: 410.8 MB / 0.6001 GB, free: 15.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 189.3 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 12 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3872, allocations: 67.44 MB / 0.8088 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006934/0.388, allocations: 319.3 kB / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3893, allocations: 1.015 MB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.3894, allocations: 0 / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.3894, allocations: 7.938 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.173e-05/0.3894, allocations: 0 / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3897, allocations: 55.8 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.3898, allocations: 19.98 kB / 0.8101 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.3898, allocations: 0 / 0.8101 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.3899, allocations: 7.938 kB / 0.8101 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.3899, allocations: 11.98 kB / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.39, allocations: 0 / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.3902, allocations: 87.89 kB / 0.8102 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3902, allocations: 11.92 kB / 0.8102 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.3902, allocations: 29.7 kB / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3904, allocations: 35.95 kB / 0.8103 GB, free: 27.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3904, allocations: 0 / 0.8103 GB, free: 27.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3904, allocations: 4 kB / 0.8103 GB, free: 27.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3904, allocations: 0 / 0.8103 GB, free: 27.15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003726/0.3908, allocations: 331.4 kB / 0.8106 GB, free: 26.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3908, allocations: 8.031 kB / 0.8106 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.3909, allocations: 11.84 kB / 0.8106 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.391, allocations: 169.2 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.391, allocations: 3.938 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.391, allocations: 8 kB / 0.8108 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3912, allocations: 45.69 kB / 0.8109 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3912, allocations: 3.938 kB / 0.8109 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3912, allocations: 3.953 kB / 0.8109 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3912, allocations: 0 / 0.8109 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/0.3913, allocations: 12 kB / 0.8109 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3914, allocations: 161.7 kB / 0.811 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.613e-05/0.3916, allocations: 42.56 kB / 0.8111 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.3916, allocations: 24.97 kB / 0.8111 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.3921, allocations: 0.5583 MB / 0.8116 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3921, allocations: 30.56 kB / 0.8117 GB, free: 25.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.3921, allocations: 0 / 0.8117 GB, free: 25.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.002326/0.3945, allocations: 474.3 kB / 0.8121 GB, free: 24.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.3945, allocations: 51.41 kB / 0.8122 GB, free: 24.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3946, allocations: 93.86 kB / 0.8123 GB, free: 24.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3946, allocations: 25.83 kB / 0.8123 GB, free: 24.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.3946, allocations: 84.14 kB / 0.8124 GB, free: 24.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3946, allocations: 31.55 kB / 0.8124 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.3947, allocations: 4 kB / 0.8124 GB, free: 24.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.3947, allocations: 310.8 kB / 0.8127 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.3948, allocations: 23.98 kB / 0.8127 GB, free: 24.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.3949, allocations: 12 kB / 0.8127 GB, free: 24.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.3949, allocations: 27.92 kB / 0.8128 GB, free: 24.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.395, allocations: 0 / 0.8128 GB, free: 24.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001863/0.3951, allocations: 81.88 kB / 0.8128 GB, free: 24.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3952, allocations: 12.09 kB / 0.8129 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3952, allocations: 3.938 kB / 0.8129 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3952, allocations: 0 / 0.8129 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3954, allocations: 23.89 kB / 0.8129 GB, free: 24.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3954, allocations: 0 / 0.8129 GB, free: 24.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.3955, allocations: 0 / 0.8129 GB, free: 24.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3955, allocations: 4 kB / 0.8129 GB, free: 24.12 MB / 378.7 MB 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 (9): * Single equations (assignments): 9 * 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 6.629e-05/0.3956, allocations: 117.3 kB / 0.813 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.3956, allocations: 7.906 kB / 0.813 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3959, allocations: 105.6 kB / 0.8131 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3959, allocations: 0 / 0.8131 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3959, allocations: 0 / 0.8131 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.3959, allocations: 85.05 kB / 0.8132 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.396, allocations: 8 kB / 0.8132 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.3961, allocations: 4 kB / 0.8132 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.3961, allocations: 4 kB / 0.8132 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002742/0.3964, allocations: 161 kB / 0.8134 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002969/0.3967, allocations: 286.6 kB / 0.8136 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.772e-05/0.3968, allocations: 28.02 kB / 0.8137 GB, free: 23.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.795e-05/0.3968, allocations: 79.34 kB / 0.8137 GB, free: 23.21 MB / 378.7 MB Notification: Performance of Backend: time 1.463e-06/0.3968, allocations: 0 / 0.8137 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.3974, allocations: 138.2 kB / 0.8139 GB, free: 23.06 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004239/0.3978, allocations: 0.5722 MB / 0.8144 GB, free: 22.45 MB / 378.7 MB Notification: Performance of Templates: time 0.004057/0.4019, allocations: 0.9719 MB / 0.8154 GB, free: 21.48 MB / 378.7 MB