Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0055/0.0055, allocations: 100.3 kB / 15.87 MB, free: 6.312 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.001493/0.001492, allocations: 196.8 kB / 16.79 MB, free: 6.242 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.281/1.281, allocations: 222.9 MB / 240.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 115.3 MB / 405.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 67.89 kB / 493 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3292, allocations: 76.17 MB / 0.5558 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001653/0.3309, allocations: 0.6654 MB / 0.5565 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3321, allocations: 1.285 MB / 0.5577 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.3321, allocations: 0 / 0.5577 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3322, allocations: 0 / 0.5577 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.756e-05/0.3322, allocations: 1.469 kB / 0.5577 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3325, allocations: 61.42 kB / 0.5578 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.3326, allocations: 18.06 kB / 0.5578 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.3326, allocations: 3.125 kB / 0.5578 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.3326, allocations: 12.5 kB / 0.5578 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.3327, allocations: 22.03 kB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3327, allocations: 1.281 kB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.3329, allocations: 102.1 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3329, allocations: 7.016 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.333, allocations: 13.86 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3331, allocations: 65.42 kB / 0.558 GB, free: 34.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3331, allocations: 0 / 0.558 GB, free: 34.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3331, allocations: 2.875 kB / 0.558 GB, free: 34.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3331, allocations: 0 / 0.558 GB, free: 34.92 MB / 446.1 MB 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.00036/0.3335, allocations: 351.4 kB / 0.5584 GB, free: 34.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3335, allocations: 14.28 kB / 0.5584 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.3336, allocations: 35.88 kB / 0.5584 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3336, allocations: 11.12 kB / 0.5584 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.255e-05/0.3337, allocations: 161.6 kB / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3337, allocations: 6.344 kB / 0.5586 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3337, allocations: 5.172 kB / 0.5586 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3339, allocations: 57.45 kB / 0.5587 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3339, allocations: 3.828 kB / 0.5587 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3339, allocations: 1.219 kB / 0.5587 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3339, allocations: 1.188 kB / 0.5587 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.334, allocations: 27.62 kB / 0.5587 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.3341, allocations: 171.1 kB / 0.5588 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3342, allocations: 58.89 kB / 0.5589 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.3343, allocations: 26.06 kB / 0.5589 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/0.3347, allocations: 0.5581 MB / 0.5595 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3347, allocations: 36.88 kB / 0.5595 GB, free: 33.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3347, allocations: 0 / 0.5595 GB, free: 33.3 MB / 446.1 MB 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.02092/0.3556, allocations: 4.367 MB / 0.5638 GB, free: 31.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3557, allocations: 58.47 kB / 0.5638 GB, free: 31.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.3558, allocations: 95.69 kB / 0.5639 GB, free: 31.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.3558, allocations: 30.89 kB / 0.5639 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.4e-05/0.3558, allocations: 82 kB / 0.564 GB, free: 31.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.356, allocations: 58.44 kB / 0.5641 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.3562, allocations: 90.12 kB / 0.5642 GB, free: 31.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.3563, allocations: 322.4 kB / 0.5645 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.3568, allocations: 314.9 kB / 0.5648 GB, free: 30.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.3574, allocations: 308.6 kB / 0.5651 GB, free: 30.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.3589, allocations: 0.776 MB / 0.5658 GB, free: 30.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3589, allocations: 0 / 0.5658 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001563/0.3605, allocations: 0.8028 MB / 0.5666 GB, free: 29.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3605, allocations: 11.42 kB / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3605, allocations: 0 / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3606, allocations: 1.531 kB / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007868/0.3613, allocations: 91.36 kB / 0.5667 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3614, allocations: 1.562 kB / 0.5667 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.3618, allocations: 9.5 kB / 0.5667 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/0.3619, allocations: 34.91 kB / 0.5668 GB, free: 29.95 MB / 446.1 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 (18): * Single equations (assignments): 18 * 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 0.0001697/0.3621, allocations: 129.1 kB / 0.5669 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.3622, allocations: 4.156 kB / 0.5669 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.3654, allocations: 1.396 MB / 0.5682 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3654, allocations: 4.188 kB / 0.5682 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3654, allocations: 1.891 kB / 0.5683 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3654, allocations: 2.25 kB / 0.5683 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3681, allocations: 1.83 MB / 0.57 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3681, allocations: 5.406 kB / 0.57 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.3688, allocations: 109.5 kB / 0.5702 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3688, allocations: 1.375 kB / 0.5702 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.3688, allocations: 31.81 kB / 0.5702 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3689, allocations: 5.312 kB / 0.5702 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3689, allocations: 1.375 kB / 0.5702 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.371, allocations: 1.468 MB / 0.5716 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.371, allocations: 86.41 kB / 0.5717 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.3711, allocations: 19.91 kB / 0.5717 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.3715, allocations: 10.12 kB / 0.5717 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3717, allocations: 42.98 kB / 0.5718 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.3718, allocations: 27.25 kB / 0.5718 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.674e-05/0.3718, allocations: 76.34 kB / 0.5719 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3718, allocations: 1.5 kB / 0.5719 GB, free: 27.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000577/0.3724, allocations: 180.3 kB / 0.572 GB, free: 27.11 MB / 446.1 MB 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 (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.002556/0.3749, allocations: 2.143 MB / 0.5741 GB, free: 25.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.376, allocations: 0.7226 MB / 0.5748 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3761, allocations: 0 / 0.5748 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.3766, allocations: 454.9 kB / 0.5753 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.377, allocations: 24.88 kB / 0.5753 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.3834, allocations: 3.749 MB / 0.579 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3835, allocations: 0.7186 MB / 0.5797 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.3848, allocations: 302.2 kB / 0.58 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.3854, allocations: 118.3 kB / 0.5801 GB, free: 22.14 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3854, allocations: 0 / 0.5801 GB, free: 22.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4741/0.8595, allocations: 12.03 MB / 0.5918 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.8596, allocations: 226.2 kB / 0.592 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.068, allocations: 0 / 0.592 GB, free: 15.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)